summaryrefslogtreecommitdiff
path: root/src/python
diff options
context:
space:
mode:
authorLieuwe <lieuwemo@gmail.com>2011-03-09 14:41:50 (GMT)
committer Lieuwe <lieuwemo@gmail.com>2011-03-09 14:41:50 (GMT)
commitdb07c1ee0cd853926c01ce99f48d53211bf94f0d (patch)
tree928da43a872ad5d44134f96c8bab1a7ec5221a77 /src/python
parent51f994f8d5c2cf640146525d3c5165d0b6383e3e (diff)
downloadpowder-db07c1ee0cd853926c01ce99f48d53211bf94f0d.zip
powder-db07c1ee0cd853926c01ce99f48d53211bf94f0d.tar.gz
added #define to disable PYCONSOLE
Diffstat (limited to 'src/python')
-rw-r--r--src/python/tpt_console.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/tpt_console.py b/src/python/tpt_console.py
index 3683da0..b26ecef 100644
--- a/src/python/tpt_console.py
+++ b/src/python/tpt_console.py
@@ -13,7 +13,7 @@ class logger:
txt=txt.strip().split("\n")[-1]
repr(txt)
tpt.log(txt)
-if(debug==False):
+if(DEBUG==False):
sys.stdout=logger()
sys.stderr=logger()