Fix downloading with relative filepaths
This commit is contained in:
parent
97dd799729
commit
1a73a90515
2
doc/BUGS
2
doc/BUGS
@ -5,8 +5,6 @@ Bugs
|
||||
|
||||
- page-forward clicks "Newest" on http://explosm.net/ instead of "Next".
|
||||
|
||||
- Download: relative filenames are still not handled correctly
|
||||
|
||||
- seir sometimes sees "-- COMMAND MODE --" even though that should never
|
||||
happen.
|
||||
|
||||
|
@ -220,7 +220,7 @@ class DownloadItem(QObject):
|
||||
self.filename = target
|
||||
self.basename = os.path.basename(target)
|
||||
try:
|
||||
self.fileobj = open(filename, 'wb')
|
||||
self.fileobj = open(target, 'wb')
|
||||
if self._do_delayed_write:
|
||||
# Downloading to the buffer in RAM has already finished so we
|
||||
# write out the data and clean up now.
|
||||
|
Loading…
Reference in New Issue
Block a user