Skip to content
Snippets Groups Projects
Commit fb080a75 authored by Nathaniel Manista's avatar Nathaniel Manista
Browse files

Merge pull request #4135 from soltanmm/example-fix

Add missing grace value to server stop in Python example.
parents ab88da26 77ebadc6
No related branches found
No related tags found
No related merge requests found
...@@ -50,7 +50,7 @@ def serve(): ...@@ -50,7 +50,7 @@ def serve():
while True: while True:
time.sleep(_ONE_DAY_IN_SECONDS) time.sleep(_ONE_DAY_IN_SECONDS)
except KeyboardInterrupt: except KeyboardInterrupt:
server.stop() server.stop(0)
if __name__ == '__main__': if __name__ == '__main__':
serve() serve()
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