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 # Only click if we see a link
if elem.is_link(): if elem.is_link():
log.webview.debug("Found link in selection, clicking. Tab: " + log.webview.debug("Found link in selection, clicking. ClickTarget "
str(click_type) + "Link: " + str(elem)) "{}, elem {}".format(click_type, elem))
elem.click(click_type) elem.click(click_type)
def follow_selected(self, *, tab=False): def follow_selected(self, *, tab=False):