diff options
author | Florent Le Coz <louiz@louiz.org> | 2011-11-16 20:43:17 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2011-11-16 20:43:17 +0100 |
commit | 27e587118bac2ee70a076875f0fb9fddcc334c9b (patch) | |
tree | c4796d375df2779095eb33014d3b72e44babad54 /src/logger.py | |
parent | b2c84055dff5284a36d4bbb3311fd1532f530f56 (diff) | |
parent | cae620e3efea2ed3428a8c3076cc8696431723e8 (diff) | |
download | poezio-27e587118bac2ee70a076875f0fb9fddcc334c9b.tar.gz poezio-27e587118bac2ee70a076875f0fb9fddcc334c9b.tar.bz2 poezio-27e587118bac2ee70a076875f0fb9fddcc334c9b.tar.xz poezio-27e587118bac2ee70a076875f0fb9fddcc334c9b.zip |
Merge branch 'master' of http://git.louiz.org/poezio
Diffstat (limited to 'src/logger.py')
-rw-r--r-- | src/logger.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/logger.py b/src/logger.py index bd24eb3b..4f6768cf 100644 --- a/src/logger.py +++ b/src/logger.py @@ -16,6 +16,7 @@ import logging log = logging.getLogger(__name__) DATA_HOME = config.get('log_dir', '') or os.path.join(environ.get('XDG_DATA_HOME') or os.path.join(environ.get('HOME'), '.local', 'share'), 'poezio') +DATA_HOME = os.path.expanduser(DATA_HOME) class Logger(object): """ |