mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-09 13:29:47 +00:00
* doc improvement
* relative imports not allowed when module is not loaded (https://www.python.org/dev/peps/pep-0366/)
This commit is contained in:
@@ -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):
|
||||
|
Reference in New Issue
Block a user