Fixing exception

This commit is contained in:
Sergio Durigan Junior 2016-06-14 14:32:10 -04:00
parent c7bef0e0e0
commit b89dac42a8

View file

@ -997,9 +997,18 @@ def load_config (c):
s['treeStableTimer'] = None
s['fileIsImportant'] = DefaultGDBfileIsImportant
else:
try:
s['dayOfWeek'] = int (s['dayOfWeek'])
except:
pass
try:
s['hour'] = int (s['hour'])
except:
pass
try:
s['minute'] = int (s['minute'])
except:
pass
s['onlyIfChanged'] = False
s['branch'] = 'master'
if "change_filter" in s: