mirror of
https://github.com/Benexl/FastAnime.git
synced 2025-12-05 20:40:09 -08:00
15 lines
307 B
Python
15 lines
307 B
Python
import sys
|
|
|
|
if __package__ is None and not getattr(sys, "frozen", False):
|
|
# direct call of __main__.py
|
|
import os.path
|
|
|
|
path = os.path.realpath(os.path.abspath(__file__))
|
|
sys.path.insert(0, os.path.dirname(os.path.dirname(path)))
|
|
|
|
|
|
if __name__ == "__main__":
|
|
from . import Cli
|
|
|
|
Cli()
|