support for loading 'faulty character set' session files

This commit is contained in:
Miroslav Stampar 2010-06-09 16:07:47 +00:00
parent eaef068c90
commit c398353e06

View File

@ -123,7 +123,7 @@ def __setOutputResume():
if os.path.exists(conf.sessionFile): if os.path.exists(conf.sessionFile):
if not conf.flushSession: if not conf.flushSession:
readSessionFP = codecs.open(conf.sessionFile, "r", conf.dataEncoding) readSessionFP = codecs.open(conf.sessionFile, "r", conf.dataEncoding, 'replace')
__url_cache = set() __url_cache = set()
__expression_cache = {} __expression_cache = {}