Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minor output formatting #1749

Merged
merged 5 commits into from
Apr 30, 2022
Merged

minor output formatting #1749

merged 5 commits into from
Apr 30, 2022

Conversation

DidierRLopes
Copy link
Collaborator

I'm the guy on top of the truck.

drawing

@DidierRLopes DidierRLopes added the enhancement Enhancement label Apr 29, 2022
except Exception as e:
if "The API key provided is not valid" in str(e):
console.print("[red]Invalid API Key[/red]\n")
else:
console.print(e)
console.print(e, "\n")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this print too many lines? I always like just "" since rich seems to make a newline on print

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

doneee

@DidierRLopes DidierRLopes merged commit 2c0f89e into main Apr 30, 2022
@DidierRLopes DidierRLopes deleted the minor-fix branch May 10, 2022 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants