1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-28 10:38:26 +00:00
bazarr/libs/subzero/util.py

8 lines
218 B
Python
Raw Normal View History

2018-10-31 16:08:29 +00:00
# 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()))), ".."))