Fix import for get_standard_dir
This commit is contained in:
parent
857533aca7
commit
c94ff7b946
@ -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))
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user