This commit is contained in:
parent
a5565472bc
commit
a2a17ac04a
5
cli.py
5
cli.py
@ -10,9 +10,8 @@ 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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user