p98 - redirect stderr

This commit is contained in:
steffen123 2008-09-24 03:56:44 +01:00
parent c4f6ac42a0
commit 541164e378
2 changed files with 3 additions and 1 deletions

View File

@ -42,7 +42,6 @@ hole/board cards are not correctly stored in the db for stud games
HORSE (and presumably other mixed games) hand history files not handled correctly
Some MTTs won't import (rebuys??)
Many STTs won't import
redirect stderr: http://diveintopython.org/scripts_and_streams/stdin_stdout_stderr.html
before beta
===========

View File

@ -18,6 +18,9 @@
import os
import sys
errorfile = open('error.log', 'w')
sys.stderr = errorfile
import pygtk
pygtk.require('2.0')
import gtk