You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bazarr/libs/subzero/util.py

10 lines
274 B

6 years ago
# coding=utf-8
5 years ago
from __future__ import absolute_import
6 years ago
import os
from subzero.lib.io import get_viable_encoding
5 years ago
import six
6 years ago
def get_root_path():
5 years ago
return os.path.abspath(os.path.join(os.path.dirname(os.path.abspath(six.text_type(__file__, get_viable_encoding()))), ".."))