Fix import for get_standard_dir

This commit is contained in:
Florian Bruhin 2014-08-05 19:58:47 +02:00
parent 857533aca7
commit c94ff7b946
2 changed files with 1 additions and 2 deletions

View File

@ -212,7 +212,7 @@ class DownloadItem(QObject):
else:
download_dir = config.get('storage', 'download-directory')
if download_dir is None:
download_dir = get_standard_dir(
download_dir = utils.get_standard_dir(
QStandardPaths.DownloadLocation)
target = os.path.join(download_dir, filename)
logger.debug("Setting filename to {}".format(filename))

View File

@ -29,7 +29,6 @@ from PyQt5.QtGui import QColor, QFont
from PyQt5.QtNetwork import QNetworkProxy
import qutebrowser.commands.utils as cmdutils
from qutebrowser.utils.misc import get_standard_dir
class ValidationError(ValueError):