Skip to content

Commit

Permalink
refactor: error handling has been removed
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhikharevAl committed Oct 25, 2024
1 parent 5c3e758 commit 832a880
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions config/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,3 @@ class Data:

USERNAME: str | None = os.getenv("PARABANK_USERNAME")
PASSWORD: str | None = os.getenv("PARABANK_PASSWORD")

if not USERNAME or not PASSWORD:
msg: str = (
"Environment variables USERNAME and PASSWORD are required."
"Set them either in .env file or as environment variables"
)
raise ValueError(msg)

0 comments on commit 832a880

Please sign in to comment.