You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
414 B
Python
16 lines
414 B
Python
import sys
|
|
|
|
if __package__ is None and not hasattr(sys, "frozen"):
|
|
import os.path
|
|
path = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|
sys.path.insert(0, os.path.realpath(path))
|
|
|
|
import owo
|
|
|
|
if __name__ == "__main__":
|
|
output=owo.main()
|
|
if output == None:
|
|
print("an error might have occured...",file=sys.stderr)
|
|
else:
|
|
from yaml import dump
|
|
print(dump(output)) |