mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-03-31 07:12:23 -07:00
adjust tests and allow other users
This commit is contained in:
@@ -37,7 +37,7 @@ def read_config_file():
|
||||
|
||||
|
||||
configFile = read_config_file()
|
||||
timeZoneSetting = configFile['TIMEZONE']
|
||||
timeZoneSetting = configFile.get('TIMEZONE', default_tz)
|
||||
if timeZoneSetting not in all_timezones:
|
||||
timeZoneSetting = default_tz
|
||||
timeZone = pytz.timezone(timeZoneSetting)
|
||||
|
||||
Reference in New Issue
Block a user