summaryrefslogtreecommitdiff
path: root/alot/ui.py
diff options
context:
space:
mode:
authorJulian Mehne <julian.mehne@posteo.de>2018-01-23 13:18:06 +0100
committerJulian Mehne <julian.mehne@posteo.de>2018-01-23 13:18:06 +0100
commitd2888c080f00d5d53ff0f30626bc3059cdc95ef8 (patch)
treec4eed139257b3ecb57ef979d5fd89d6bc3e4fb0b /alot/ui.py
parente8586c18e73920ec9c5ad3344a0fbaa53bca3954 (diff)
Rename get_env to get_xdg_env and clarify docstring.
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')