diff options
| author | tv <tv@nomic.retiolum> | 2014-04-25 12:58:24 +0200 | 
|---|---|---|
| committer | tv <tv@nomic.retiolum> | 2014-04-25 12:58:24 +0200 | 
| commit | 2ff3166d78710db3f6346cdb743f8ff7d3e7e1a3 (patch) | |
| tree | eaa7c5929e3245ff738cc830cd2371518400737c | |
| parent | 3938e79f08c18f467708808b00a2dc39cf581680 (diff) | |
reaktor config: use expanduser instead of environ
| -rw-r--r-- | Reaktor/config.py | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/Reaktor/config.py b/Reaktor/config.py index 0a01c5cb..4ca6d377 100644 --- a/Reaktor/config.py +++ b/Reaktor/config.py @@ -1,11 +1,11 @@ -from os import environ +from os.path import expanduser  debug = True  # CAVEAT name should not contains regex magic  name = 'crabmanner' -workdir = environ['HOME'] + '/state' +workdir = expanduser('~') + '/state'  irc_alarm_timeout = 300  irc_hammer_interval = 10 | 
