Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ This tool lets you check if a repository under a given username is part of The S
|
|
21 |
|
22 |
def check_username(username):
|
23 |
output_md = ""
|
24 |
-
if username in usernames:
|
25 |
repos = usernames[username]
|
26 |
repo_word = "repository" if len(repos)==1 else "repositories"
|
27 |
output_md += f"**Yes**, there is code from **{len(repos)} {repo_word}** in The Stack:\n\n"
|
|
|
21 |
|
22 |
def check_username(username):
|
23 |
output_md = ""
|
24 |
+
if username in usernames and len(usernames[username])>0:
|
25 |
repos = usernames[username]
|
26 |
repo_word = "repository" if len(repos)==1 else "repositories"
|
27 |
output_md += f"**Yes**, there is code from **{len(repos)} {repo_word}** in The Stack:\n\n"
|