Only handle actual exceptions in nerr()

This commit is contained in:
Fierelier 2023-01-28 03:24:48 +01:00
parent 0f6e3a4fc6
commit 7014853d09

View File

@ -9,7 +9,7 @@ import random
def nerr(func,*args,**kwargs): def nerr(func,*args,**kwargs):
try: try:
return func(*args,**kwargs) return func(*args,**kwargs)
except: except Exception:
return return
def choiceYn(question,defaultPick = None): def choiceYn(question,defaultPick = None):