apply function directly unpacking argument list

This commit is contained in:
vrde 2013-09-17 00:23:13 +02:00
parent 32abe2dd04
commit f0f3dc24e1
1 changed files with 1 additions and 1 deletions

View File

@ -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)