1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-27 18:17:46 +00:00
bazarr/libs/subzero/util.py
Louis Vézina 3ca2c98cd4 WIP
2019-09-16 22:04:27 -04:00

9 lines
274 B
Python

# 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()))), ".."))