rwitz commited on
Commit
bb29497
·
verified ·
1 Parent(s): deb8f35

Update app.py

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