diff --git a/onlylegs/app.py b/onlylegs/app.py index 9cbfb05..0dd4349 100644 --- a/onlylegs/app.py +++ b/onlylegs/app.py @@ -132,3 +132,7 @@ compress.init_app(app) # Yupee! We got there :3 print("Done!") logging.info("Gallery started successfully!") + + +if __name__ == "__main__": + app.run() diff --git a/setup/runner.py b/setup/runner.py index 76a8a32..94cd827 100644 --- a/setup/runner.py +++ b/setup/runner.py @@ -32,4 +32,4 @@ class OnlyLegs(Application): return "OnlyLegs" def load(self): - return util.import_app("onlylegs:create_app()") + return util.import_app("onlylegs.app:app")