summaryrefslogtreecommitdiff
path: root/alot/ui.py
diff options
context:
space:
mode:
Diffstat (limited to 'alot/ui.py')
-rw-r--r--alot/ui.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/alot/ui.py b/alot/ui.py
index 6c0dea6e..c42df091 100644
--- a/alot/ui.py
+++ b/alot/ui.py
@@ -18,7 +18,7 @@ from .commands import CommandCanceled
from .commands import CommandParseError
from .helper import split_commandline
from .helper import string_decode
-from .helper import get_env
+from .helper import get_xdg_env
from .widgets.globals import CompleteEdit
from .widgets.globals import ChoiceWidget
@@ -84,7 +84,7 @@ class UI(object):
# load histories
self._cache = os.path.join(
- get_env('XDG_CACHE_HOME', os.path.expanduser('~/.cache')),
+ get_xdg_env('XDG_CACHE_HOME', os.path.expanduser('~/.cache')),
'alot', 'history')
self._cmd_hist_file = os.path.join(self._cache, 'commands')
self._sender_hist_file = os.path.join(self._cache, 'senders')