mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-02-21 21:34:48 +08:00
Fix for #405
This commit is contained in:
parent
c6ab7053d3
commit
f0fd8877ae
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue