rwitz commited on
Commit
3e79370
·
verified ·
1 Parent(s): aff2a91

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ password=os.environ.get("MONGODB")
51
  def init_database():
52
  uri = f"mongodb+srv://new-user:{password}@cluster0.xb2urf6.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0"
53
  client = MongoClient(uri)
54
- db = client["elo_ratings2"]
55
  collection = db["elo_ratings"]
56
  return collection
57
 
 
51
  def init_database():
52
  uri = f"mongodb+srv://new-user:{password}@cluster0.xb2urf6.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0"
53
  client = MongoClient(uri)
54
+ db = client["elo_ratings3"]
55
  collection = db["elo_ratings"]
56
  return collection
57