From cc253503b475843da83e8936702d6f5330de153f Mon Sep 17 00:00:00 2001 From: cis-kuldeep Date: Wed, 19 May 2021 19:27:06 +0530 Subject: [PATCH] fixed code quality issues --- packages/flatpak/server.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/flatpak/server.py b/packages/flatpak/server.py index 2202324e..b7b6d783 100644 --- a/packages/flatpak/server.py +++ b/packages/flatpak/server.py @@ -2,9 +2,11 @@ from flask import Flask, send_from_directory app = Flask(__name__) + @app.route("/repo/") def static_dir(path): return send_from_directory("repo", path) + if __name__ == "__main__": app.run(host="0.0.0.0", port=5000, debug=True)