Commit 3987c47e authored by Jérome Perrin's avatar Jérome Perrin

fixup! Automatically add Event Generator for queue statistics when using Queue stat widget

parent cd9a4d30
...@@ -14,7 +14,7 @@ class Simulation(DefaultSimulation): ...@@ -14,7 +14,7 @@ class Simulation(DefaultSimulation):
def _preprocess(self, data): def _preprocess(self, data):
"""Preprocess data, reading shift spreadsheet """Preprocess data, reading shift spreadsheet
""" """
data = DefaultSimulation._preprocess(data) data = DefaultSimulation._preprocess(self, data)
strptime = datetime.datetime.strptime strptime = datetime.datetime.strptime
now = strptime(data['general']['currentDate'], '%Y/%m/%d') now = strptime(data['general']['currentDate'], '%Y/%m/%d')
......
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