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

3
cli.py
View File

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