Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Lungsangg committed Dec 26, 2024
1 parent 481f45b commit e1c27c7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions sefaria/local_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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",
Expand All @@ -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'
Expand Down

0 comments on commit e1c27c7

Please sign in to comment.