diff --git a/sefaria/local_settings.py b/sefaria/local_settings.py index 87b7310bd3..c7d2f5c6ab 100644 --- a/sefaria/local_settings.py +++ b/sefaria/local_settings.py @@ -5,7 +5,7 @@ import sefaria.system.logging as sefaria_logging import os -from decoder import private_key_1 +# from decoder import private_key_1 from dotenv import load_dotenv from google_auth_oauthlib.flow import Flow @@ -274,7 +274,7 @@ "type": "service_account", "project_id": os.getenv("project_id"), "private_key_id": os.getenv("private_key_id"), - "private_key": private_key_1, + "private_key": os.getenv("private_key").replace("\\n", "\n"), "client_email": os.getenv("client_email"), "client_id": os.getenv("client_id"), "auth_uri": "https://accounts.google.com/o/oauth2/auth", @@ -284,6 +284,8 @@ "universe_domain": "googleapis.com" } +print("H"*20, GOOGLE_APPLICATION_CREDENTIALS) + GEOIP_DATABASE = 'data/geoip/GeoLiteCity.dat' GEOIPV6_DATABASE = 'data/geoip/GeoLiteCityv6.dat'