Browse Source

Prevent CherryPy warning by making sure host name is in ASCII instead of Unicode.

pull/199/head
shypike 10 years ago
parent
commit
4db46f9c62
  1. 2
      SABnzbd.py

2
SABnzbd.py

@ -578,7 +578,7 @@ def get_webhost(cherryhost, cherryport, https_port):
cherryhost = ''
if cherryhost is None:
cherryhost = sabnzbd.cfg.cherryhost()
cherryhost = deunicode(sabnzbd.cfg.cherryhost())
else:
sabnzbd.cfg.cherryhost.set(cherryhost)

Loading…
Cancel
Save