aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFlaxee <[email protected]>2019-12-28 09:27:32 +0100
committerGitHub <[email protected]>2019-12-28 09:27:32 +0100
commit7bcea720536cc625bfe32cdda189e32bc8ebba0d (patch)
treeeeb2cdb0efebaf9208bd2b20ab7614e153b79b27
parent376d57e4e7abb1bd34e885bc13d9b77200637030 (diff)
downloadbazarr-7bcea720536cc625bfe32cdda189e32bc8ebba0d.tar.gz
bazarr-7bcea720536cc625bfe32cdda189e32bc8ebba0d.zip
Update unix.py
-rw-r--r--libs/tzlocal/unix.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/tzlocal/unix.py b/libs/tzlocal/unix.py
index 388273c27..8574965a5 100644
--- a/libs/tzlocal/unix.py
+++ b/libs/tzlocal/unix.py
@@ -138,7 +138,7 @@ def _get_localzone(_root='/'):
if os.path.exists(tzpath) and os.path.islink(tzpath):
tzpath = os.path.realpath(tzpath)
start = tzpath.find("/")+1
- while start is not 0:
+ while start != 0:
tzpath = tzpath[start:]
try:
return pytz.timezone(tzpath)