From 74db0e3a574a51d8a73655334ffb617daea943e8 Mon Sep 17 00:00:00 2001 From: nberting Date: Wed, 13 Jun 2018 19:33:27 +0200 Subject: [PATCH] got rid of id in import_csv --- app/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views.py b/app/views.py index 3687aee..c552b7d 100755 --- a/app/views.py +++ b/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'])