route fix

This commit is contained in:
Xevion
2019-08-11 15:01:41 -05:00
parent 04391c2ce9
commit c4361d41d7

View File

@@ -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()