p98 - redirect stderr
This commit is contained in:
parent
c4f6ac42a0
commit
541164e378
|
@ -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
|
||||
===========
|
||||
|
|
|
@ -18,6 +18,9 @@
|
|||
import os
|
||||
import sys
|
||||
|
||||
errorfile = open('error.log', 'w')
|
||||
sys.stderr = errorfile
|
||||
|
||||
import pygtk
|
||||
pygtk.require('2.0')
|
||||
import gtk
|
||||
|
|
Loading…
Reference in New Issue
Block a user