Give time to terminate

This commit is contained in:
Simeon Warner 2021-03-23 08:15:42 -04:00
parent 059202695c
commit 51b384cc07

View File

@ -78,6 +78,7 @@ def webserver(dir='/tmp/htdocs', host='localhost', port=9999):
finally:
# Close the server
p.terminate()
time.sleep(0.1)
if __name__ == '__main__':