summaryrefslogtreecommitdiffstats
path: root/Reaktor
diff options
context:
space:
mode:
authortv <tv@nomic.retiolum>2014-04-25 12:58:24 +0200
committertv <tv@nomic.retiolum>2014-04-25 12:58:24 +0200
commit2ff3166d78710db3f6346cdb743f8ff7d3e7e1a3 (patch)
treeeaa7c5929e3245ff738cc830cd2371518400737c /Reaktor
parent3938e79f08c18f467708808b00a2dc39cf581680 (diff)
reaktor config: use expanduser instead of environ
Diffstat (limited to 'Reaktor')
-rw-r--r--Reaktor/config.py4
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