Browse Source

Set UI-ready flag sooner.

tags/0.7.0Beta6
ShyPike 13 years ago
parent
commit
11a1ce4a6c
  1. 2
      SABnzbd.py
  2. 1
      sabnzbd/api.py

2
SABnzbd.py

@ -1483,8 +1483,6 @@ def main():
# Wait for server to become ready
cherrypy.engine.wait(cherrypy.process.wspbus.states.STARTED)
sabnzbd.WEBUI_READY = True
if enable_https:
browser_url = "https://%s:%s/sabnzbd" % (browserhost, cherryport)
else:

1
sabnzbd/api.py

@ -1534,6 +1534,7 @@ def clear_trans_cache():
dummy = _SKIN_CACHE
_SKIN_CACHE = {}
del dummy
sabnzbd.WEBUI_READY = True
logging.debug('Cleared translation cache')

Loading…
Cancel
Save