diff --git a/user.py b/user.py

index cebe2ea..12ad553 100644

--- a/user.py

+++ b/user.py

@@ -108,9 +108,9 @@ def user_actions(session):

         return 59, 'Bad request'

     action = found[1]

     post_id = found[3]

- u_name = urlparse.unquote(found[4])

- u_sub = urlparse.unquote(found[5])

- s_sub = urlparse.unquote(found[6])

+ u_name = urlparse.unquote(found[4]) if found[4] else None

+ u_sub = urlparse.unquote(found[5]) if found[5] else None

+ s_sub = urlparse.unquote(found[6]) if found[6] else None

     is_follow = action in ('follow', 'unfollow')

     if u_name != None:

         target_type = FOLLOW_USER if is_follow else MUTE_USER

Proxy Information
Original URL
gemini://git.skyjake.fi/bubble/main/pcdiff/bebba0a18e0c695a0f6c0d39c77e7a97e165e0c4
Status Code
Success (20)
Meta
text/plain
Capsule Response Time
27.571016 milliseconds
Gemini-to-HTML Time
0.561481 milliseconds

This content has been proxied by September (3851b).