summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xwnpp-query.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/wnpp-query.py b/wnpp-query.py
index 7245b40..d0157bb 100755
--- a/wnpp-query.py
+++ b/wnpp-query.py
@@ -86,4 +86,8 @@ reports.sort(key = lambda x: int(x[3]))
for entry in reports:
if int(entry[3]) <= options.max_days_old \
and int(entry[3]) >= options.min_days_old:
+ entry[2] = re.sub('&amp;', '&', entry[2])
+ entry[2] = re.sub('&quot;', '"', entry[2])
+ entry[2] = re.sub('&#39;', '\'', entry[2])
print entry[3], 'days ago:', entry[1], entry[0], entry[2]
+