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
|
HORSE (and presumably other mixed games) hand history files not handled correctly
|
||||||
Some MTTs won't import (rebuys??)
|
Some MTTs won't import (rebuys??)
|
||||||
Many STTs won't import
|
Many STTs won't import
|
||||||
redirect stderr: http://diveintopython.org/scripts_and_streams/stdin_stdout_stderr.html
|
|
||||||
|
|
||||||
before beta
|
before beta
|
||||||
===========
|
===========
|
||||||
|
|
|
@ -18,6 +18,9 @@
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
errorfile = open('error.log', 'w')
|
||||||
|
sys.stderr = errorfile
|
||||||
|
|
||||||
import pygtk
|
import pygtk
|
||||||
pygtk.require('2.0')
|
pygtk.require('2.0')
|
||||||
import gtk
|
import gtk
|
||||||
|
|
Loading…
Reference in New Issue
Block a user