|
|
@ -677,7 +677,7 @@ def import_csv(): |
|
|
|
year_published = int(row['year_published']) |
|
|
|
else: |
|
|
|
year_published = None; |
|
|
|
book = Book(row['title'], row['file'], cover, row['fileformat'], row['category'],year_published) |
|
|
|
book = Book(row['title'], row['file'], cover, row['fileformat'], row['category'],year_published, None, None, None, None, None, None) |
|
|
|
book.scapeX = float(row['scapeX']) |
|
|
|
book.scapeY = float(row['scapeY']) |
|
|
|
|
|
|
|