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/b933eb87b924e3ba72729e3af045b8465a4122ee/libs/enzyme/compat.py
You should set ROOT_URL correctly, otherwise the web may not work correctly.
|
# -*- coding: utf-8 -*-
|
|
import sys
|
|
|
|
|
|
_ver = sys.version_info
|
|
is_py3 = _ver[0] == 3
|
|
is_py2 = _ver[0] == 2
|
|
|
|
|
|
if is_py2:
|
|
bytes = lambda x: chr(x[0]) # @ReservedAssignment
|
|
elif is_py3:
|
|
bytes = bytes # @ReservedAssignment
|