mirror of
https://codeberg.org/prof_x_pvt_ltd/captive.whump.shanti-portal
synced 2024-08-14 22:46:42 +00:00
fixed some old bugs.
This commit is contained in:
parent
ad2d251d48
commit
8a142e22e9
1 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ except ImportError:
|
||||||
|
|
||||||
from redis import Redis
|
from redis import Redis
|
||||||
from rq import Queue
|
from rq import Queue
|
||||||
from bottle import Bottle, default_app
|
from bottle import Bottle, default_app, debug
|
||||||
from bottle import request, response, template, static_file
|
from bottle import request, response, template, static_file
|
||||||
|
|
||||||
config = RawConfigParser()
|
config = RawConfigParser()
|
||||||
|
@ -232,6 +232,6 @@ if __name__ == '__main__':
|
||||||
host=config.get('portal', 'listen_host'),
|
host=config.get('portal', 'listen_host'),
|
||||||
port=config.getint('portal', 'listen_port')
|
port=config.getint('portal', 'listen_port')
|
||||||
)
|
)
|
||||||
debug(config.getbool('portal', 'debug'))
|
debug(config.getboolean('portal', 'debug'))
|
||||||
else:
|
else:
|
||||||
application = app
|
application = app
|
||||||
|
|
Loading…
Reference in a new issue