Commit 8274a409 authored by Philippe Pepiot's avatar Philippe Pepiot
Browse files

Fix a TypeError on database creation on python3

TypeError: int() argument must be a string, a bytes-like object or a number, not 'dict_values'
parent 707ba668c525
......@@ -37,7 +37,7 @@ for day in (u'saturday', u'sunday'):
## DEFAULT CALENDAR
defaultcal = create_entity('Calendar', title=u'Calendrier Francais')
defaultcal.cw_set(weekdays=weekdays, day_types=dt_store.values())
defaultcal.cw_set(weekdays=weekdays, day_types=list(dt_store.values()))
# Timeperiod workflow
wf = add_workflow('time-period workflow', 'Timeperiod')
......
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