From 471b05aa82e9296dcba6a9f1c039f53f95219e50 Mon Sep 17 00:00:00 2001 From: Eloi Date: Thu, 4 Sep 2025 12:31:53 +0200 Subject: [PATCH] clean rss.py --- src/rss.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rss.py b/src/rss.py index cba2fbb..9838b11 100644 --- a/src/rss.py +++ b/src/rss.py @@ -22,7 +22,7 @@ def line2words(lines, limit): l = len(word) if limit > 0 and (l + char_count > limit): break_outer_loop = True - break; + break output.append(word) char_count += l if break_outer_loop: @@ -38,7 +38,7 @@ def line2words(lines, limit): # this is similar tot he markup function in microblog def enrich_msg(lines, is_atom=True): if not is_atom: - return string + return lines content = [] parser = My_Html_Parser([]) for line in lines: