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/2658638f384aac50a47d6fe5c0264171ae9bcb16/custom_libs/subzero/util.py
You should set ROOT_URL correctly, otherwise the web may not work correctly.
|
# coding=utf-8
|
|
from __future__ import absolute_import
|
|
import os
|
|
from subzero.lib.io import get_viable_encoding
|
|
import six
|
|
|
|
|
|
def get_root_path():
|
|
return os.path.abspath(os.path.join(os.path.dirname(os.path.abspath(six.text_type(__file__, get_viable_encoding()))), ".."))
|