ssbu_lokrez/lokrez/__main__.py

15 lines
290 B
Python
Raw Normal View History

2020-07-22 12:10:16 -04:00
import sys
# Add module parent directory to path if needed
if __package__ is None and not hasattr(sys, "frozen"):
import pathlib
path = pathlib.Path(__file__).absolute()
sys.path.insert(0, str(path.parent.parent))
import lokrez
if __name__ == '__main__':
lokrez.main()