apply function directly unpacking argument list
This commit is contained in:
parent
32abe2dd04
commit
f0f3dc24e1
|
@ -472,7 +472,7 @@ class ElectrumWindow(QMainWindow):
|
|||
return
|
||||
|
||||
try:
|
||||
apply(f, args)
|
||||
f(*args)
|
||||
except:
|
||||
print_error("Plugin error")
|
||||
traceback.print_exc(file=sys.stdout)
|
||||
|
|
Loading…
Reference in New Issue