mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-04-02 08:12:21 -07:00
Merge pull request #1363 from adamoutler/allow-other-users
Allow other users (Non-Synology)
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