This commit is contained in:
ltcptgeneral 2019-03-20 17:23:41 -05:00
parent 975db73aae
commit 08aec2537e

View File

@ -192,7 +192,8 @@ def titanservice():
for j in range(len(files)): for j in range(len(files)):
json_out[str(teams[i][0])] = (stats[j][i]) json_out[str(teams[i][0])] = (stats[j][i])
general_general_stats.document(files[j]).set({'stats':json_out.get(teams[i][0])}) name = os.path.basename(files[j])
general_general_stats.document(name).set({'stats':json_out.get(teams[i][0])})
for i in range(len(teams)): for i in range(len(teams)):
nnum = location.collection(teams[i][0]).document(u'nishant_number').set({'nishant':score_out.get(teams[i][0])}) nnum = location.collection(teams[i][0]).document(u'nishant_number').set({'nishant':score_out.get(teams[i][0])})