From f0fd8877ae6551a870cdba7d84236a5462aa4c83 Mon Sep 17 00:00:00 2001 From: morpheus65535 Date: Tue, 21 May 2019 22:42:07 -0400 Subject: [PATCH] Fix for #405 --- libs/tzlocal/unix.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/tzlocal/unix.py b/libs/tzlocal/unix.py index ad944454e..46849c1e1 100644 --- a/libs/tzlocal/unix.py +++ b/libs/tzlocal/unix.py @@ -152,7 +152,7 @@ def get_localzone(): if _cache_tz is None: _cache_tz = _get_localzone() - utils.assert_tz_offset(_cache_tz) + #utils.assert_tz_offset(_cache_tz) return _cache_tz @@ -160,5 +160,5 @@ def reload_localzone(): """Reload the cached localzone. You need to call this if the timezone has changed.""" global _cache_tz _cache_tz = _get_localzone() - utils.assert_tz_offset(_cache_tz) + #utils.assert_tz_offset(_cache_tz) return _cache_tz