From f732941beb6430cfee00bfceb75f51375747884f Mon Sep 17 00:00:00 2001 From: Rui Carmo Date: Sat, 27 Feb 2021 13:12:25 +0000 Subject: [PATCH] pyflake --- piku.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/piku.py b/piku.py index 989b17f..a5869da 100755 --- a/piku.py +++ b/piku.py @@ -867,7 +867,7 @@ def spawn_worker(app, kind, command, env, ordinal=1): ('die-on-idle', 'True') ]) echo("-----> uwsgi will start workers on demand and kill them after {}s of inactivity".format(idle_timeout), fg='yellow') - except: + except Exception: echo("Error: malformed setting 'UWSGI_IDLE', ignoring it.".format(), fg='red') pass