]> git.phdru.name Git - xsetbg.git/commitdiff
Style: Fix `flake8` error E111 indentation is not a multiple of 4
authorOleg Broytman <phd@phdru.name>
Sat, 24 Feb 2024 13:12:21 +0000 (16:12 +0300)
committerOleg Broytman <phd@phdru.name>
Sat, 24 Feb 2024 13:12:21 +0000 (16:12 +0300)
xsetbg-wsgi.py

index f4b78737100232015282fd358a2b963ca7a49419..f0ec153b72b9634e005e6b6ac3942c48c0c0f443 100755 (executable)
@@ -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 = {}