rwitz commited on
Commit
9eb33c4
·
verified ·
1 Parent(s): 5158e04

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ import sqlite3
12
  import pymongo
13
  password=os.environ.get("MONGODB")
14
  def init_database():
15
- client = pymongo.MongoClient(f"mongodb+srv://rwitzman:{password}@cluster0.xb2urf6.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0")
16
  db = client["elo_ratings"]
17
  collection = db["elo_ratings"]
18
  return collection
 
12
  import pymongo
13
  password=os.environ.get("MONGODB")
14
  def init_database():
15
+ client = pymongo.MongoClient(f"mongodb+srv://new-user:{password}@cluster0.xb2urf6.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0")
16
  db = client["elo_ratings"]
17
  collection = db["elo_ratings"]
18
  return collection