def get_root_dir():
 curdir = os.path.dirname(os.path.abspath(__file__))
 return os.path.abspath(os.path.join(curdir, '..'))

def get_root_dir ( ) : curdir = os . path . dirname ( os . path . abspath ( __file__ ) ) return os . path . abspath ( os . path . join ( curdir , '..' ) )
returns weblate root dir .