Style fix

This commit is contained in:
Panagiotis Ktistakis 2016-04-20 17:25:26 +03:00
parent 045b54b94b
commit 6c3b0219e7

View File

@ -673,11 +673,10 @@ class CommandDispatcher:
':' + str(port) if port > -1 else '') ':' + str(port) if port > -1 else '')
what = 'domain' what = 'domain'
else: else:
cur_url = self._current_url() flags = QUrl.RemovePassword
if pretty: if not pretty:
s = cur_url.toString(QUrl.RemovePassword) flags |= QUrl.FullyEncoded
else: s = self._current_url().toString(flags)
s = cur_url.toString(QUrl.FullyEncoded | QUrl.RemovePassword)
what = 'URL' what = 'URL'
if sel and QApplication.clipboard().supportsSelection(): if sel and QApplication.clipboard().supportsSelection():