Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
Jeroen Oudshoorn
2023-10-13 08:46:30 +02:00
parent 5a854dc434
commit 61124d30cb

View File

@ -48,7 +48,7 @@ def auth():
"No one else but you have access to these.\n" "No one else but you have access to these.\n"
"Do you agree? \n\n[y(es)/n(o)]") "Do you agree? \n\n[y(es)/n(o)]")
if user_input.lower() in ('y', 'yes'): if user_input.lower() in ('y', 'yes'):
if not os.path.exists("/rootclient_secrets.json"): if not os.path.exists("/root/client_secrets.json"):
logging.error("client_secrets.json not found in /root. Please RTFM!") logging.error("client_secrets.json not found in /root. Please RTFM!")
return 0 return 0
try: try: