summaryrefslogtreecommitdiff
path: root/hello-fusepy.py
diff options
context:
space:
mode:
Diffstat (limited to 'hello-fusepy.py')
-rw-r--r--hello-fusepy.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/hello-fusepy.py b/hello-fusepy.py
index dc9117e..fdeec00 100644
--- a/hello-fusepy.py
+++ b/hello-fusepy.py
@@ -78,6 +78,7 @@ class ActivityPubStatusProvider(StatusProvider):
if s.get("type", None) == "Create"
and "object" in s
and all(key in s["object"] for key in ["id", "content", "published"])
+ and len(s["object"]["content"])
]
@@ -124,6 +125,7 @@ class MastodonStatusProvider(StatusProvider):
)
for s in statuses
if all(key in s for key in ["id", "content", "created_at"])
+ and len(s["content"])
]