Don't prompt if not storage->prompt-download-dir
This commit is contained in:
parent
0f8ec73c55
commit
4e3cd8b9e8
@ -1185,6 +1185,8 @@ class CommandDispatcher:
|
||||
dest: The file path to write the download to.
|
||||
"""
|
||||
tab_id = self._current_index()
|
||||
if not config.get('storage', 'prompt-download-directory'):
|
||||
dest = downloads.download_dir()
|
||||
if dest is None:
|
||||
suggested_fn = self._current_title() + ".mht"
|
||||
suggested_fn = utils.sanitize_filename(suggested_fn)
|
||||
|
Loading…
Reference in New Issue
Block a user