mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 11:06:30 +00:00
16 lines
349 B
Python
16 lines
349 B
Python
from io import BytesIO
|
|
|
|
import main
|
|
from main import ParsedArguments
|
|
|
|
|
|
def start_server():
|
|
args = ParsedArguments('admin@azaion.com', 'Az@1on1000Odm$n', 'stage', True)
|
|
processor = main.CommandProcessor(args)
|
|
try:
|
|
processor.start()
|
|
except Exception as e:
|
|
processor.stop()
|
|
|
|
if __name__ == "__main__":
|
|
start_server() |