diff options
-rwxr-xr-x | pyAggr3g470r.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py index 3dc2b5d2..87ad6303 100755 --- a/pyAggr3g470r.py +++ b/pyAggr3g470r.py @@ -1340,8 +1340,7 @@ if __name__ == '__main__': root = Root() root.favicon_ico = cherrypy.tools.staticfile.handler(filename=os.path.join(utils.path + "/img/favicon.png")) - bindhost = "0.0.0.0" - cherrypy.config.update({ 'server.socket_port': 12556, 'server.socket_host': bindhost}) + cherrypy.config.update({ 'server.socket_port': 12556, 'server.socket_host': "0.0.0.0"}) cherrypy.config.update({'error_page.404': error_page_404}) _cp_config = {'request.error_response': handle_error} @@ -1363,4 +1362,4 @@ if __name__ == '__main__': thread_watch_base.setDaemon(True) thread_watch_base.start() - cherrypy.quickstart(root, "/" ,config=utils.path + "/cfg/cherrypy.cfg")
\ No newline at end of file + cherrypy.quickstart(root, "/" ,config=utils.path + "/cfg/cherrypy.cfg") |