Commit 9af50bf9 authored by Mathieu Giraud's avatar Mathieu Giraud

default.py : import csv > remove truncate

parent 1321eb21
......@@ -94,8 +94,8 @@ def init_from_csv():
try:
db.import_from_csv_file(open(defs.DB_BACKUP_FILE, 'rb'), null='')
db.scheduler_task.truncate()
db.scheduler_run.truncate()
# db.scheduler_task.truncate()
# db.scheduler_run.truncate()
except Exception as e:
res = {"success": "false", "message": "!" + str(e)}
log.error(res)
......
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