Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/bazarr/src/commit/e4bf041ecb4921c8829ab60b8de13fde982cd20e/libs/pytz_deprecation_shim/_common.py
You should set ROOT_URL correctly, otherwise the web may not work correctly.
|
import sys
|
|
|
|
_PYTZ_IMPORTED = False
|
|
|
|
|
|
def pytz_imported():
|
|
"""Detects whether or not pytz has been imported without importing pytz."""
|
|
global _PYTZ_IMPORTED
|
|
|
|
if not _PYTZ_IMPORTED and "pytz" in sys.modules:
|
|
_PYTZ_IMPORTED = True
|
|
|
|
return _PYTZ_IMPORTED
|