summaryrefslogtreecommitdiff
path: root/alot/settings
diff options
context:
space:
mode:
Diffstat (limited to 'alot/settings')
-rw-r--r--alot/settings/manager.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/alot/settings/manager.py b/alot/settings/manager.py
index 150bd7d1..591edba8 100644
--- a/alot/settings/manager.py
+++ b/alot/settings/manager.py
@@ -15,7 +15,7 @@ from configobj import ConfigObj, Section
from ..account import SendmailAccount
from ..addressbook.abook import AbookAddressBook
from ..addressbook.external import ExternalAddressbook
-from ..helper import pretty_datetime, string_decode, get_env
+from ..helper import pretty_datetime, string_decode, get_xdg_env
from ..utils import configobj as checks
from .errors import ConfigError, NoMatchingAccount
@@ -25,8 +25,8 @@ from .theme import Theme
DEFAULTSPATH = os.path.join(os.path.dirname(__file__), '..', 'defaults')
-DATA_DIRS = get_env('XDG_DATA_DIRS',
- '/usr/local/share:/usr/share').split(':')
+DATA_DIRS = get_xdg_env('XDG_DATA_DIRS',
+ '/usr/local/share:/usr/share').split(':')
class SettingsManager(object):