From a795a89c2d185446a2ae2c926ac38657e112dcc7 Mon Sep 17 00:00:00 2001 From: Jacob Levine Date: Fri, 22 Mar 2019 08:44:42 -0500 Subject: [PATCH] final fixes --- data analysis/scoutflex2019.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/data analysis/scoutflex2019.py b/data analysis/scoutflex2019.py index cf1e8533..a6b2977b 100644 --- a/data analysis/scoutflex2019.py +++ b/data analysis/scoutflex2019.py @@ -51,7 +51,9 @@ def generate_team_report(team): credential = credentials.Certificate('keys/firebasekey.json') -db = firestore.Client(project="titanscoutandroid", credentials=credential) +firebase_admin.initialize_app(credential) + +db = firestore.Client() teams_ref = db.collection(u'data').document(u'team-2022').collection(u'Central 2019') teams = teams_ref.get()