Fix typo
This commit is contained in:
parent
ec3dac53e7
commit
da2527c51c
|
@ -31,7 +31,7 @@ notify_chat = config['config']['notify_chat']
|
||||||
wait_seconds = config['config']['wait_seconds']
|
wait_seconds = config['config']['wait_seconds']
|
||||||
time_offset = config['config'].get('time_offset', '00:00')
|
time_offset = config['config'].get('time_offset', '00:00')
|
||||||
time_offset_neg = time_offset.startswith('-')
|
time_offset_neg = time_offset.startswith('-')
|
||||||
if time_ottset_neg or time_offset.startswith('+'):
|
if time_offset_neg or time_offset.startswith('+'):
|
||||||
time_offset = time_offset[1:]
|
time_offset = time_offset[1:]
|
||||||
hours, minutes = time_offset.split(':')
|
hours, minutes = time_offset.split(':')
|
||||||
time_offset_td = timedelta(hours=int(hours), minutes=int(minutes))
|
time_offset_td = timedelta(hours=int(hours), minutes=int(minutes))
|
||||||
|
|
Loading…
Reference in New Issue