diff options
author | Flaxee <[email protected]> | 2019-12-28 09:27:32 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2019-12-28 09:27:32 +0100 |
commit | 7bcea720536cc625bfe32cdda189e32bc8ebba0d (patch) | |
tree | eeb2cdb0efebaf9208bd2b20ab7614e153b79b27 /libs/tzlocal | |
parent | 376d57e4e7abb1bd34e885bc13d9b77200637030 (diff) | |
download | bazarr-7bcea720536cc625bfe32cdda189e32bc8ebba0d.tar.gz bazarr-7bcea720536cc625bfe32cdda189e32bc8ebba0d.zip |
Update unix.py
Diffstat (limited to 'libs/tzlocal')
-rw-r--r-- | libs/tzlocal/unix.py | 2 |
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) |