X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=xsetbg-wsgi.py;h=f0ec153b72b9634e005e6b6ac3942c48c0c0f443;hb=a444a56ed3c1839383d0c5b8de91887394c7c662;hp=f4b78737100232015282fd358a2b963ca7a49419;hpb=f0b1834ee20af76db12587d521e0fbe4f473ac6d;p=xsetbg.git diff --git a/xsetbg-wsgi.py b/xsetbg-wsgi.py index f4b7873..f0ec153 100755 --- a/xsetbg-wsgi.py +++ b/xsetbg-wsgi.py @@ -13,14 +13,14 @@ from xsetbg import change as _change # get httpd settings from config if xsetbg_conf.has_option("httpd", "host"): - host = xsetbg_conf.get("httpd", "host") + host = xsetbg_conf.get("httpd", "host") else: - host = 'localhost' + host = 'localhost' if xsetbg_conf.has_option("httpd", "port"): - port = xsetbg_conf.getint("httpd", "port") + port = xsetbg_conf.getint("httpd", "port") else: - error("Config must specify a port to listen. Abort.") + error("Config must specify a port to listen. Abort.") commands = {}