From 2e0bf28c8ec96190a61c846eaa5a8847db1e1df6 Mon Sep 17 00:00:00 2001 From: Lynne Date: Fri, 11 Jan 2019 23:02:36 +1000 Subject: [PATCH] funy coment --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index c56388c..adbf8ab 100755 --- a/main.py +++ b/main.py @@ -150,6 +150,7 @@ for f in following: if pleroma: if c.execute("SELECT COUNT(*) FROM toots WHERE id LIKE ?", (oi['object']['id'],)).fetchone()[0] > 0: #we've caught up to the notices we've already downloaded, so we can stop now + #you might be wondering, "lynne, what if the instance ratelimits you after 40 posts, and they've made 60 since main.py was last run? wouldn't the bot miss 20 posts and never be able to see them?" to which i reply, "it's called mstdn-ebooks not fediverse-ebooks. pleroma support is an afterthought" done = True break pid = re.search(r"[^\/]+$", oi['object']['id']).group(0)