diff --git a/data analysis/__pycache__/analysis.cpython-37.pyc b/data analysis/__pycache__/analysis.cpython-37.pyc index 3b48150e..68984e7b 100644 Binary files a/data analysis/__pycache__/analysis.cpython-37.pyc and b/data analysis/__pycache__/analysis.cpython-37.pyc differ diff --git a/data analysis/__pycache__/visualization.cpython-37.pyc b/data analysis/__pycache__/visualization.cpython-37.pyc index c0bb0610..2b268365 100644 Binary files a/data analysis/__pycache__/visualization.cpython-37.pyc and b/data analysis/__pycache__/visualization.cpython-37.pyc differ diff --git a/data analysis/superscript.py b/data analysis/superscript.py index 81c95e90..32da081e 100644 --- a/data analysis/superscript.py +++ b/data analysis/superscript.py @@ -257,7 +257,10 @@ def service(): warnings.simplefilter("ignore") #Use a service account -cred = credentials.Certificate('keys/firebasekey.json') +try: + cred = credentials.Certificate('keys/firebasekey.json') +except: + cred = credentials.Certificate('keys/keytemp.json') firebase_admin.initialize_app(cred) db = firestore.client()