a51e4dd69e
* Reformat codebase with black * Create black.yml and add black style badge to README.md
11 lines
269 B
Python
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)
|