1
0
Fork 0
mirror of https://github.com/sileht/bird-lg.git synced 2024-11-22 06:54:43 +01:00

Move debug boolean to configuration file

This commit is contained in:
Mehdi Abaakouk 2012-08-21 09:21:14 +02:00
parent 9ca18eff4a
commit ea5563fe81
2 changed files with 2 additions and 1 deletions

1
lg.cfg
View file

@ -1,4 +1,5 @@
DEBUG = True
DOMAIN = "tetaneutral.net"
PROXY = {

2
lg.py
View file

@ -575,6 +575,6 @@ def show_route(request_type, hosts, proto):
app.secret_key = app.config["SESSION_KEY"]
app.debug = True
app.debug = app.config["DEBUG"]
if __name__ == "__main__":
app.run("0.0.0.0")