From da43ac7d0a02fd7cab89182db46f108f685e8cd5 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 14 Aug 2023 20:11:58 +0100 Subject: [PATCH] Tidying --- utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.py b/utils.py index 93a56c01b..b0272cc54 100644 --- a/utils.py +++ b/utils.py @@ -1299,7 +1299,7 @@ def get_actor_from_post_id(post_id: str) -> str: nick = nick.split('/')[0] actor = actor.split(status_str)[0] + '/users/' + nick break - elif has_users_path(actor): + if has_users_path(actor): actor = actor.split(status_str)[0] break return actor