summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-09-12 16:57:46 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-09-12 16:57:46 +0000
commit29e5250904bacbabb49388fee0811aa4cdcb6708 (patch)
tree9a187ed404e6d131be813fb122a88f23f9dd94fb
parente5f82cdacdac6f446faf3138f8eeca7f66a77b90 (diff)
downloadpoezio-29e5250904bacbabb49388fee0811aa4cdcb6708.tar.gz
poezio-29e5250904bacbabb49388fee0811aa4cdcb6708.tar.bz2
poezio-29e5250904bacbabb49388fee0811aa4cdcb6708.tar.xz
poezio-29e5250904bacbabb49388fee0811aa4cdcb6708.zip
don't crash on dev version (with debug()s), by writting debug in /tmp/
-rw-r--r--src/common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.py b/src/common.py
index dce4b382..061c9d84 100644
--- a/src/common.py
+++ b/src/common.py
@@ -57,7 +57,7 @@ def debug(string):
Useful since debuging cannot be displayed on screen because it's
a CLI software
"""
- fdes = open("debug", 'a')
+ fdes = open("/tmp/debug", 'a')
try:
fdes.write(string)
except: