diff --git a/CHANGES.md b/CHANGES.md index cae3493b..a5d2a763 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -195,6 +195,7 @@ * Update Tornado Web Server 4.3.dev1 (1b6157d) to 4.4.dev1 (c2b4d05) * Change add support for freebsd /var/db/zoneinfo when getting local timezone information * Fix issue with post processing propers/repacks +* Change use legacy tzlocal() if new gettz fails to create ### 0.11.15 (2016-09-13 19:50:00 UTC) diff --git a/sickbeard/network_timezones.py b/sickbeard/network_timezones.py index 35a4dc84..60acd15d 100644 --- a/sickbeard/network_timezones.py +++ b/sickbeard/network_timezones.py @@ -57,7 +57,7 @@ def get_tz(): t = get_localzone() if isinstance(t, datetime.tzinfo) and hasattr(t, 'zone') and t.zone and hasattr(sickbeard, 'ZONEINFO_DIR'): try: - t = tz.gettz(t.zone) + t = tz_fallback(tz.gettz(t.zone)) except: t = tz_fallback(t) else: