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):
|
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):
|
||||||
|
Loading…
Reference in New Issue
Block a user