This commit is contained in:
Tyrel Souza 2021-11-05 00:19:09 -04:00
parent a5565472bc
commit a2a17ac04a

5
cli.py
View File

@ -10,9 +10,8 @@ def main():
user_name = Prompt.ask("Username?")
gh = GHub()
try:
success = gh.load_user(user_name=user_name)
if success:
print(gh.repos_table())
gh.load_user(user_name=user_name)
print(gh.repos_table())
except httpx.HTTPStatusError as e:
print(e)