mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-03 20:13:02 +00:00
@@ -108,7 +108,10 @@ def run(*args, **kwargs):
|
||||
start_swingmusic(kwargs["host"], kwargs["port"])
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
def main():
|
||||
multiprocessing.freeze_support()
|
||||
multiprocessing.set_start_method("spawn")
|
||||
run()
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user