From 8ebef4327d71ddd079a6a12349ed127c3c7eaea1 Mon Sep 17 00:00:00 2001 From: notagoat Date: Sun, 19 May 2019 13:57:20 +0100 Subject: [PATCH] Fixey fix --- reply.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reply.py b/reply.py index 3fe1159..d8f20d3 100755 --- a/reply.py +++ b/reply.py @@ -59,10 +59,10 @@ class ReplyListener(mastodon.StreamListener): if mention == "pin": print("pin received, pinning") client.status_pin(pin) - client.status_post("Toot pinned!", post_id, visibility=visibility spoiler_text = cfg['cw']) + client.status_post("Toot pinned!", post_id, visibility=visibility, spoiler_text = cfg['cw']) else: print("unpin received, unpinning") - client.status_post("Toot Unpinned!", post_id, visibility=visibility spoiler_text = cfg['cw']) + client.status_post("Toot unpinned!", post_id, visibility=visibility, spoiler_text = cfg['cw']) client.status_unpin(pin) else: print("User is not valid")