]> git.phdru.name Git - xsetbg.git/blobdiff - xsetbg-wsgi.py
Style: Fix `flake8` error E722 bare 'except'
[xsetbg.git] / xsetbg-wsgi.py
index 5a435b4414942ba405aa83f061c36acddccdc98b..161a2b5bd5bfaf3187cbc99e3c79a3e654da8e30 100755 (executable)
@@ -65,7 +65,7 @@ def app(env, start_response):
 
     try:
         commands[command]()
-    except:
+    except Exception:
         status = '500 Error'
         response_headers = [('Content-type', 'text/plain')]
         start_response(status, response_headers)