gemini.git

going-flying.com gemini git repository

summary

tree

log

refs

924c5fe6069f13200d8aa62c681f4af2e3990a1c - Matthew Ernisse - 1598545493

id must be a str or bytes it seems

view tree

view raw

diff --git a/files/thoughts-to-gemini.py b/files/thoughts-to-gemini.py
index 1864b6f..7339cf6 100755
--- a/files/thoughts-to-gemini.py
+++ b/files/thoughts-to-gemini.py
@@ -246,7 +246,7 @@ class Thoughts(object):
 
 			e = feed.add_entry()
 			e.content(content=entry['message'], type='text')
-			e.id(entry['id'])
+			e.id(str(entry['id']))
 			e.title('A brief thought from mernisse')
 			e.link(
 				href=f'{ WEBBASE }{ entry["id"] }.html',