[review] style fixes

This commit is contained in:
Anton S 2017-10-05 01:49:13 +03:00
parent 0f1444125f
commit 91c6847e59

View File

@ -808,10 +808,10 @@ class Application(QApplication):
def event(self, e):
if e.type() != QEvent.FileOpen:
return super(QApplication, self).event(e)
return super().event(e)
url = e.url()
log.misc.info("Got FileOpen event: %s" % url)
log.misc.info("Got FileOpen event: {}".format(url.toDisplayString()))
tabbed_browser = objreg.get('tabbed-browser', scope='window',
window='last-focused')
tabbed_browser.tabopen(url, related=False)