Browse Source

got rid of id in import_csv

ansible-setup-and-deploy
nberting 6 years ago
parent
commit
74db0e3a57
  1. 2
      app/views.py

2
app/views.py

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

Loading…
Cancel
Save