Commit 12b08764 authored by Mikaël Salson's avatar Mikaël Salson Committed by Vidjil Team
Browse files

controller/default.py: CSV import, don't modify null values

Since we don't modify them at export, there's no reason to modify them at import
parent 80424787
......@@ -98,7 +98,7 @@ def init_from_csv():
log.info(res)
try:
db.import_from_csv_file(open(defs.DB_BACKUP_FILE, 'rb'), null='')
db.import_from_csv_file(open(defs.DB_BACKUP_FILE, 'rb'))
# db.scheduler_task.truncate()
# db.scheduler_run.truncate()
except Exception as e:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment