Change how lines are split.

This commit is contained in:
Florian Bruhin 2015-07-02 20:51:51 +02:00
parent d44f14063a
commit dc29ad430e

View File

@ -452,14 +452,14 @@ class DownloadItem(QObject):
if os.path.isfile(self._filename): if os.path.isfile(self._filename):
# The file already exists, so ask the user if it should be # The file already exists, so ask the user if it should be
# overwritten. # overwritten.
self._ask_confirm_question(self._filename + txt = self._filename + " already exists. Overwrite?"
" already exists. Overwrite?") self._ask_confirm_question(txt)
# FIFO, device node, etc. Make sure we want to do this # FIFO, device node, etc. Make sure we want to do this
elif (os.path.exists(self._filename) and not elif (os.path.exists(self._filename) and not
os.path.isdir(self._filename)): os.path.isdir(self._filename)):
self._ask_confirm_question(self._filename + txt = (self._filename + " already exists and is a special file. "
" already exists and is a special file." "Write to this?")
" Write to this?") self._ask_confirm_question(txt)
else: else:
self._create_fileobj() self._create_fileobj()