From c4361d41d7d56b4d6ba1ca5c80fe2baa8436fe98 Mon Sep 17 00:00:00 2001 From: Xevion Date: Sun, 11 Aug 2019 15:01:41 -0500 Subject: [PATCH] route fix --- app/routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/routes.py b/app/routes.py index a14939c..38fe0d7 100644 --- a/app/routes.py +++ b/app/routes.py @@ -23,7 +23,7 @@ fake = faker.Faker() strgen = lambda length, charset=string.ascii_letters, weights=None : ''.join(random.choices(list(charset), k=length, weights=weights)) -@app.route('/modpacks'): +@app.route('/modpacks') def modpacks(): return open(os.path.join(app.root_path, 'static', 'MODPACKS.MD'), 'r').read()