From 29e5250904bacbabb49388fee0811aa4cdcb6708 Mon Sep 17 00:00:00 2001 From: "louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13" Date: Sun, 12 Sep 2010 16:57:46 +0000 Subject: don't crash on dev version (with debug()s), by writting debug in /tmp/ --- src/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3