going-flying.com gemini git repository
7be727caf1851a0906c6d522f0e6df1a370fbc7b - Matthew Ernisse - 1598545278
derp, replace the tzinfo...
diff --git a/files/thoughts-to-gemini.py b/files/thoughts-to-gemini.py index bc5e3e5..d692203 100755 --- a/files/thoughts-to-gemini.py +++ b/files/thoughts-to-gemini.py @@ -242,7 +242,7 @@ class Thoughts(object): pubdate = datetime.datetime.utcfromtimestamp( entry['id'] ) - pubdate = pubdate.replace(pytz.utc) + pubdate = pubdate.replace(tzinfo=pytz.utc) e = feed.add_entry() e.content(content=entry['message'], type='text')