* doc improvement

* relative imports not allowed when module is not loaded (https://www.python.org/dev/peps/pep-0366/)
This commit is contained in:
Belegnar
2017-03-10 14:13:22 +03:00
parent b5dfc5d514
commit 0e44657963
2 changed files with 5 additions and 2 deletions

View File

@@ -2,7 +2,10 @@ import os
import re
import shutil
from .parser import SourceBuilder, TLParser
try:
from .parser import SourceBuilder, TLParser
except (ImportError, SystemError):
from parser import SourceBuilder, TLParser
def get_output_path(normal_path):