Skip to content
Snippets Groups Projects
Commit 9d6fdf57 authored by Christopher Randolph Rhodes's avatar Christopher Randolph Rhodes
Browse files

run_server main method can now be called externally

parent 4cf23d0b
No related branches found
No related tags found
No related merge requests found
......@@ -28,8 +28,7 @@ def parse_args():
return parser.parse_args()
def main() -> None:
args = parse_args()
def main(args) -> None:
print('CLI args:\n' + str(args))
server_process = Process(
......@@ -69,4 +68,5 @@ def main() -> None:
if __name__ == '__main__':
args = parse_args()
main()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment