From b485106b5b449a5e0c2402c5b3101ce63f326aad Mon Sep 17 00:00:00 2001 From: JackDandy Date: Sat, 12 Sep 2015 12:00:44 +0100 Subject: [PATCH] Change to use non-private zonefilename variable. --- sickbeard/network_timezones.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sickbeard/network_timezones.py b/sickbeard/network_timezones.py index bbaa6a5c..61404a96 100644 --- a/sickbeard/network_timezones.py +++ b/sickbeard/network_timezones.py @@ -48,7 +48,7 @@ def _remove_zoneinfo_failed(filename): # helper to remove old unneeded zoneinfo files def _remove_old_zoneinfo(): - zonefilename = zoneinfo._ZONEFILENAME + zonefilename = zoneinfo.ZONEFILENAME if None is zonefilename: return cur_zoneinfo = ek.ek(basename, zonefilename) @@ -83,7 +83,7 @@ def _update_zoneinfo(): logger.WARNING) return - zonefilename = zoneinfo._ZONEFILENAME + zonefilename = zoneinfo.ZONEFILENAME cur_zoneinfo = zonefilename if None is not cur_zoneinfo: cur_zoneinfo = ek.ek(basename, zonefilename) @@ -222,7 +222,7 @@ def get_network_timezone(network, network_dict): return sb_timezone try: - if zoneinfo._ZONEFILENAME is not None: + if zoneinfo.ZONEFILENAME is not None: try: n_t = tz.gettz(network_dict[network]) except: