diff options
| author | Simon <simon@hardwired.org.uk> | 2011-03-29 16:47:53 (GMT) |
|---|---|---|
| committer | Simon <simon@hardwired.org.uk> | 2011-03-29 16:47:53 (GMT) |
| commit | 812798d70dc5c95e34e4e896d2b10d979b2d6d2e (patch) | |
| tree | bd1dd55078194b10555bd405526a30800c2c6698 /src/python | |
| parent | d17694dcc6be7252b0099cb0779e6e88e233ada8 (diff) | |
| parent | f4804c19cc3a2f4ed37a00b1f66f5afd1bdb6f60 (diff) | |
| download | powder-812798d70dc5c95e34e4e896d2b10d979b2d6d2e.zip powder-812798d70dc5c95e34e4e896d2b10d979b2d6d2e.tar.gz | |
64bit fixes and other
Diffstat (limited to 'src/python')
| -rw-r--r-- | src/python/tpt_console.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/python/tpt_console.py b/src/python/tpt_console.py index 315267e..c4b870c 100644 --- a/src/python/tpt_console.py +++ b/src/python/tpt_console.py @@ -12,7 +12,10 @@ class logger: def write(self,txt): txt=txt.strip().split("\n")[-1] repr(txt) - tpt.log(txt) + try: + tpt.log(txt) + except:#yeah, this happens. + pass if(DEBUG==False): sys.stdout=logger() sys.stderr=logger() |
