Allow main script to be imported
We should only start the server if we are the main module, and not imported some other way. This is important for multiprocessing to work correctly on Windows.
This commit is contained in:
parent
39ae9b6250
commit
fb6405bffb