got rid of id in import_csv

This commit is contained in:
nberting 2018-06-13 19:33:27 +02:00
parent be41426018
commit 74db0e3a57

View File

@ -762,7 +762,7 @@ def import_csv():
name, file_extension = os.path.splitext(row['file']) name, file_extension = os.path.splitext(row['file'])
print ('get_cover', fullpath, name) print ('get_cover', fullpath, name)
cover = get_cover(fullpath, name) cover = get_cover(fullpath, name)
file = str(id) + "_" + row['file'] file = row['file']
if row['year_published']: if row['year_published']:
year_published = int(row['year_published']) year_published = int(row['year_published'])