fix import_raw.py

This commit is contained in:
j 2016-11-06 14:41:38 +01:00
parent 314e465588
commit 9bccfd22f4
1 changed files with 1 additions and 1 deletions

View File

@ -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'])