diff --git a/lib/core/target.py b/lib/core/target.py index b8a6386e9..686f58b06 100644 --- a/lib/core/target.py +++ b/lib/core/target.py @@ -123,7 +123,7 @@ def __setOutputResume(): if os.path.exists(conf.sessionFile): if not conf.flushSession: - readSessionFP = codecs.open(conf.sessionFile, "r", conf.dataEncoding) + readSessionFP = codecs.open(conf.sessionFile, "r", conf.dataEncoding, 'replace') __url_cache = set() __expression_cache = {}