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/a198250cca9273df098a34fb271f83106d596d4a/libs/knowit/units.py You should set ROOT_URL correctly, otherwise the web may not work correctly.
bazarr/libs/knowit/units.py

25 lines
445 B

# -*- coding: utf-8 -*-
def _build_unit_registry():
try:
from pint import UnitRegistry
registry = UnitRegistry()
registry.define('FPS = 1 * hertz')
except ImportError:
class NoUnitRegistry:
def __init__(self):
pass
def __getattr__(self, item):
return 1
registry = NoUnitRegistry()
return registry
units = _build_unit_registry()