diff options
author | Julian Mehne <julian.mehne@posteo.de> | 2018-01-23 13:18:06 +0100 |
---|---|---|
committer | Julian Mehne <julian.mehne@posteo.de> | 2018-01-23 13:18:06 +0100 |
commit | d2888c080f00d5d53ff0f30626bc3059cdc95ef8 (patch) | |
tree | c4eed139257b3ecb57ef979d5fd89d6bc3e4fb0b /alot/ui.py | |
parent | e8586c18e73920ec9c5ad3344a0fbaa53bca3954 (diff) |
Rename get_env to get_xdg_env and clarify docstring.
Diffstat (limited to 'alot/ui.py')
-rw-r--r-- | alot/ui.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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') |