king-michael / simulation_database

Apache License 2.0
1 stars 1 forks source link

Bug : Viewer : dict_keys can not be added ! #33

Closed king-michael closed 5 years ago

king-michael commented 5 years ago

Page:

127.0.0.1 - - [22/Feb/2019 15:08:46] "POST /statistics/activity/ HTTP/1.1" 500 -

Error:

File "/home/micha/SIM-PhD-King/gits/simulation_database/simdb/dashboard/app/statistics/routes.py", line 97, in statistics_activity
    dates = list(set(created.keys() + added.keys() + updated.keys()))
TypeError: unsupported operand type(s) for +: 'dict_keys' and 'dict_keys'