mirror of
https://github.com/morpheus65535/bazarr.git
synced 2024-11-14 19:54:38 +08:00
7 lines
218 B
Python
7 lines
218 B
Python
# coding=utf-8
|
|
import os
|
|
from subzero.lib.io import get_viable_encoding
|
|
|
|
|
|
def get_root_path():
|
|
return os.path.abspath(os.path.join(os.path.dirname(os.path.abspath(unicode(__file__, get_viable_encoding()))), ".."))
|