From a90b79b3f355e0a80bd2a60b3a2bc050a217fae8 Mon Sep 17 00:00:00 2001 From: Luna Date: Sun, 2 Aug 2020 21:26:27 -0300 Subject: [PATCH] black fmt pass fix failing ci on !65 --- litecord/blueprints/relationships.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litecord/blueprints/relationships.py b/litecord/blueprints/relationships.py index 9f79a1d..2dd8e0e 100644 --- a/litecord/blueprints/relationships.py +++ b/litecord/blueprints/relationships.py @@ -227,7 +227,7 @@ async def post_relationship(): if not uid: raise RelationshipFailed("No users with DiscordTag exist") - + if uid == user_id: raise RelationshipFailed("Tried to add themselves as friend")