fixed FPD for bot.html

This commit is contained in:
b3yond 2018-02-17 12:31:49 +01:00
parent 1f01938a8c
commit 52c2d1e341

View file

@ -128,6 +128,8 @@ def static(filename):
""" """
Serve static files Serve static files
""" """
if filename == "bot.html":
bottle.abort(401, "Sorry, access denied.")
return bottle.static_file(filename, root='../static') return bottle.static_file(filename, root='../static')