Fix typo.

This commit is contained in:
Florian Bruhin 2015-04-22 07:46:01 +02:00
parent c21ae0b651
commit e1f2259e98

View File

@ -1166,7 +1166,7 @@ class CommandDispatcher:
member = getattr(QWebPage, action, None)
if not isinstance(member, QWebPage.WebAction):
raise cmdexc.CommandError("{} is not a valid web action!".format(
acction))
action))
view = self._current_widget()
for _ in range(count):
view.triggerPageAction(member)