This commit is contained in:
ltcptgeneral 2020-03-04 12:58:57 -06:00
parent 8d83cc6336
commit 758c7d4a92
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -56,6 +56,6 @@ def get_data_formatted(apikey, competition):
def push_team_data(apikey, competition, team_num, data): def push_team_data(apikey, competition, team_num, data):
client = pymongo.MongoClient(apikey) client = pymongo.MongoClient(apikey)
db = client.arthur_data_processing db = client.data_processing
mdata = db.team_tests mdata = db.team_tests
mdata.replace_one({"competition" : competition, "team": team_num}, {"_id": competition+str(team_num)+"am", "competition" : competition, "team" : team_num, "data" : data}, True) mdata.replace_one({"competition" : competition, "team": team_num}, {"_id": competition+str(team_num)+"am", "competition" : competition, "team" : team_num, "data" : data}, True)