From f79722975f4016155dc94949e7804a9ffb773b14 Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 9 Nov 2015 17:06:50 +0100 Subject: [PATCH] Fix _download_dir reference --- qutebrowser/browser/downloads.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qutebrowser/browser/downloads.py b/qutebrowser/browser/downloads.py index e2aea5dd3..078fa622f 100644 --- a/qutebrowser/browser/downloads.py +++ b/qutebrowser/browser/downloads.py @@ -737,7 +737,7 @@ class DownloadManager(QAbstractListModel): prompt_download_directory = config.get( 'storage', 'prompt-download-directory') if not prompt_download_directory and not fileobj: - filename = _download_dir() + filename = download_dir() if fileobj is not None or filename is not None: return self.fetch_request(request, @@ -832,7 +832,7 @@ class DownloadManager(QAbstractListModel): prompt_download_directory = config.get('storage', 'prompt-download-directory') if not prompt_download_directory and not fileobj: - filename = _download_dir() + filename = download_dir() if filename is not None: download.set_filename(filename)