Skip to content

Commit a61780f

Browse files
committed
Remove now not-used __main__ code in __init__.py
1 parent e74b2e5 commit a61780f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/dat_backend/__init__.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,3 @@ def handle_exception(e):
7676
# APIs are defined when this file is done initializing.
7777
from dat_backend.routes.earthdata_download import auth, get_links # noqa
7878
from dat_backend.routes import status, python_script, metrics, favicon # noqa
79-
80-
if __name__ == "__main__":
81-
# `ssl_context` option:
82-
# https://werkzeug.palletsprojects.com/en/2.3.x/serving/#werkzeug.serving.run_simple
83-
app.run(host="0.0.0.0", debug=True, ssl_context="adhoc")

0 commit comments

Comments
 (0)