pesterchum/__main__.py
MiguelX413 a51e4dd69e
Reformat codebase (#97)
* Reformat codebase with black

* Create black.yml and add black style badge to README.md
2022-10-07 22:51:40 +02:00

11 lines
269 B
Python

#!/usr/bin/env python3
# Tries to run_as_subprocess.py as an absolute and relative import. (for script or module)
import sys
try:
from .run_as_subprocess import main
except (ImportError, ModuleNotFoundError):
from run_as_subprocess import main
main(sys.argv)