Skip to content

Commit

Permalink
Fixed typo from previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Taaku18 committed Sep 23, 2022
1 parent d62b25d commit 4bf7edb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@
if prefix == "NONE":
prefix = ""

MONGO_URI = os.getenv("MONGO_URI") or os.getenv("CONECTION_URI")
MONGO_URI = os.getenv("MONGO_URI") or os.getenv("CONNECTION_URI")
if not MONGO_URI:
print("No MONGO_URI config var found. Please enter your MongoDB connection URI in the configuration or .env file.")
print("No CONNECTION_URI config var found. "
"Please enter your MongoDB connection URI in the configuration or .env file.")
exit(1)

app = Sanic(__name__)
Expand Down

0 comments on commit 4bf7edb

Please sign in to comment.