diff --git a/physiofit/__main__.py b/physiofit/__main__.py index 0878863..e43e20a 100644 --- a/physiofit/__main__.py +++ b/physiofit/__main__.py @@ -21,6 +21,7 @@ def get_last_version(): except Exception: pass + def main(): """The main routine""" @@ -33,5 +34,6 @@ def main(): path_to_app = path_to_app / "ui/gui.py" run(["streamlit", "run", str(path_to_app)]) + if __name__ == "__main__": - sys.exit(main()) \ No newline at end of file + sys.exit(main())