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