Only handle actual exceptions in nerr()
This commit is contained in:
parent
0f6e3a4fc6
commit
7014853d09
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user