From b509aa764d41dbad336df30cdfa33ec5c84ae8ef Mon Sep 17 00:00:00 2001 From: mkaay Date: Sat, 5 Feb 2011 18:19:29 +0100 Subject: fixes --- module/plugins/Plugin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'module/plugins/Plugin.py') diff --git a/module/plugins/Plugin.py b/module/plugins/Plugin.py index 1ecc3ded3..54900422c 100644 --- a/module/plugins/Plugin.py +++ b/module/plugins/Plugin.py @@ -385,7 +385,8 @@ class Plugin(object): f = open(self.lastDownload, "rb") content = f.read(read_size if read_size else -1) f.close() - self.log.debug("Content: %s" % content) + #produces encoding errors, better log to other file in the future? + #self.log.debug("Content: %s" % content) for name, rule in rules.iteritems(): if type(rule) in (str, unicode): if rule in content: -- cgit v1.2.3