going-flying.com gemini git repository
df03962a0056a51bf8ce8c494f1f71d5a2370047 - Matthew Ernisse - 1598545559
explicitly call str() on the DeHTMLizer instance for feed generation
diff --git a/files/thoughts-to-gemini.py b/files/thoughts-to-gemini.py index 7339cf6..e357e7b 100755 --- a/files/thoughts-to-gemini.py +++ b/files/thoughts-to-gemini.py @@ -245,7 +245,7 @@ class Thoughts(object): pubdate = pubdate.replace(tzinfo=pytz.utc) e = feed.add_entry() - e.content(content=entry['message'], type='text') + e.content(content=str(entry['message']), type='text') e.id(str(entry['id'])) e.title('A brief thought from mernisse') e.link(