aboutsummaryrefslogtreecommitdiffstats
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
commit31bf2d4d296347eece924dcfa690390f9a72deaf (patch)
tree104557c18cfc2273315f4dda081726bdfa9e35c7
parent0f3e5bae6b85e0dffc59af75ec73fdc762c24e9e (diff)
reaktor config: use expanduser instead of environ
-rw-r--r--config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.py b/config.py
index 0a01c5c..4ca6d37 100644
--- a/config.py
+++ b/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