From 7014853d091c38cd39fb79ce74c7cf4eba85a8d7 Mon Sep 17 00:00:00 2001 From: Fierelier Date: Sat, 28 Jan 2023 03:24:48 +0100 Subject: [PATCH] Only handle actual exceptions in nerr() --- mods/live-installer/data/opt/wdvn/installer/main | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/live-installer/data/opt/wdvn/installer/main b/mods/live-installer/data/opt/wdvn/installer/main index dbdb146..aae1df2 100755 --- a/mods/live-installer/data/opt/wdvn/installer/main +++ b/mods/live-installer/data/opt/wdvn/installer/main @@ -9,7 +9,7 @@ import random def nerr(func,*args,**kwargs): try: return func(*args,**kwargs) - except: + except Exception: return def choiceYn(question,defaultPick = None):