jacobinathanialpeterson commited on
Commit
b3ff6bb
1 Parent(s): 83dd7b0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -22,8 +22,8 @@ def create_room():
22
  if room == roomId:
23
  success = False
24
  if success:
25
- rooms.update = {roomId: {}} # Create an empty room with an empty message list
26
- return flask.jsonify({'roomId': roomId, "success": True})
27
  else:
28
  return flask.jsonify({"success": False})
29
 
 
22
  if room == roomId:
23
  success = False
24
  if success:
25
+ rooms.update({roomId: {}}) # Create an empty room with an empty message list
26
+ return flask.jsonify({"success": True})
27
  else:
28
  return flask.jsonify({"success": False})
29