fix import_raw.py
This commit is contained in:
parent
314e465588
commit
9bccfd22f4
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ def import_raw(client):
|
|||
for path in client.path(oshash):
|
||||
if os.path.exists(path):
|
||||
jpg = os.path.join(cache, u'%s.jpg' % os.path.basename(path).split('.')[0])
|
||||
convert_cr2(path, jpg)
|
||||
convert_raw(path, jpg)
|
||||
break
|
||||
if jpg and os.path.exists(jpg):
|
||||
r = client._add_document(jpg, f['item'])
|
||||
|
|
Loading…
Reference in a new issue