Fixing exception
This commit is contained in:
parent
c7bef0e0e0
commit
b89dac42a8
1 changed files with 12 additions and 3 deletions
|
@ -997,9 +997,18 @@ def load_config (c):
|
||||||
s['treeStableTimer'] = None
|
s['treeStableTimer'] = None
|
||||||
s['fileIsImportant'] = DefaultGDBfileIsImportant
|
s['fileIsImportant'] = DefaultGDBfileIsImportant
|
||||||
else:
|
else:
|
||||||
|
try:
|
||||||
s['dayOfWeek'] = int (s['dayOfWeek'])
|
s['dayOfWeek'] = int (s['dayOfWeek'])
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
try:
|
||||||
s['hour'] = int (s['hour'])
|
s['hour'] = int (s['hour'])
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
try:
|
||||||
s['minute'] = int (s['minute'])
|
s['minute'] = int (s['minute'])
|
||||||
|
except:
|
||||||
|
pass
|
||||||
s['onlyIfChanged'] = False
|
s['onlyIfChanged'] = False
|
||||||
s['branch'] = 'master'
|
s['branch'] = 'master'
|
||||||
if "change_filter" in s:
|
if "change_filter" in s:
|
||||||
|
|
Loading…
Reference in a new issue