From 6d97d11958ebde349b077d1d5809a0c496125400 Mon Sep 17 00:00:00 2001 From: UrloMythus Date: Tue, 16 Jul 2024 17:42:16 +0200 Subject: [PATCH] Fixed sc --- run.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/run.py b/run.py index fd8a3f6..494946a 100644 --- a/run.py +++ b/run.py @@ -185,7 +185,7 @@ def addon_stream(type, id): return respond_with(streams) @app.route('/meta//.json') -def addon_meta(type, id): +def meta(type, id): if type not in MANIFEST['types']: abort(404) @@ -206,6 +206,5 @@ def addon_meta(type, id): abort(404) return respond_with({"meta": meta}) - if __name__ == '__main__': app.run(host=HOST, port=PORT)