Skip to content

Commit

Permalink
Update models.py
Browse files Browse the repository at this point in the history
Co-authored-by: Fedor Borshev <[email protected]>
  • Loading branch information
da-maltsev and f213 authored Jul 20, 2023
1 parent 0358dbe commit 62e2296
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

database_url = os.getenv('DATABASE_URL')
if not database_url:
raise RuntimeError('Please set BOT_TOKEN environment variable')
raise RuntimeError('Please set DATABASE_URL environment variable')
db = connect(database_url)


Expand Down

0 comments on commit 62e2296

Please sign in to comment.