diff --git a/serve.py b/serve.py index 3a0e652..a8fe294 100755 --- a/serve.py +++ b/serve.py @@ -64,7 +64,7 @@ def serve(root, port, run_browser): print(f"serving on port {port}") httpd.serve_forever() - +# The main function if __name__ == "__main__": parser = argparse.ArgumentParser() parser.add_argument("-p", "--port", help="port to listen on", default=8060, type=int)