Skip to content

Commit bf1ad75

Browse files
committed
Fixed checker saying all names are invalid
1 parent b303681 commit bf1ad75

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

utils/checker.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,7 @@
55
alphabet = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_"
66

77
def is_in_swears(name):
8-
for swear in swears:
9-
if swear in name:
10-
return True
11-
return False
8+
return name in swears
129

1310
def is_alpha(name):
1411
for char in name:

0 commit comments

Comments
 (0)