Simplify debug string

This commit is contained in:
Florian Bruhin 2017-05-09 17:55:51 +02:00
parent e3eda28d88
commit 76fa126133

View File

@ -265,8 +265,8 @@ class WebEngineCaret(browsertab.AbstractCaret):
# Only click if we see a link
if elem.is_link():
log.webview.debug("Found link in selection, clicking. Tab: " +
str(click_type) + "Link: " + str(elem))
log.webview.debug("Found link in selection, clicking. ClickTarget "
"{}, elem {}".format(click_type, elem))
elem.click(click_type)
def follow_selected(self, *, tab=False):