Skip to content
Snippets Groups Projects
Commit 2576a5b3 authored by Jan Mach's avatar Jan Mach
Browse files

Fix: Fixed bug in sqldb-migrate-events.py migration script.

(Redmine issue: #3752)
parent b810d0cb
No related branches found
No related tags found
No related merge requests found
......@@ -124,10 +124,10 @@ for alr in mongo_events.find(EVENTFILTER).sort('_CESNET.StorageTime', 1):
dt_current = datetime.datetime.now()
print("* progress {:,d} ({:>7.3f}%, {}, {})".format(
cnt_migrated,
(cnt_migrated/total_count)*100),
(cnt_migrated/total_count)*100,
str(dt_current - DT_START),
str(dt_current - dt_previous)
)
))
dt_previous = dt_current
print("[ DONE ] Conversion: 'events'")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment