master
blank X 1 year ago
parent ec3dac53e7
commit da2527c51c
Signed by: blankie
GPG Key ID: CC15FC822C7F61F5
  1. 2
      ytnotifier.py

@ -31,7 +31,7 @@ notify_chat = config['config']['notify_chat']
wait_seconds = config['config']['wait_seconds']
time_offset = config['config'].get('time_offset', '00:00')
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:]
hours, minutes = time_offset.split(':')
time_offset_td = timedelta(hours=int(hours), minutes=int(minutes))

Loading…
Cancel
Save