Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
Jeroen Oudshoorn
2023-10-13 08:48:08 +02:00
parent cb3fbd530a
commit d18c694e32

View File

@ -52,8 +52,7 @@ def auth():
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:
print(os.getcwd()) gauth = GoogleAuth(settings_file="/root/settings.yaml")
gauth = GoogleAuth(settings_file="settings.yaml")
print(gauth.GetAuthUrl()) print(gauth.GetAuthUrl())
user_input = input("Please copy this URL into a browser, " user_input = input("Please copy this URL into a browser, "
"complete the verification and then copy/paste the code from addressbar.") "complete the verification and then copy/paste the code from addressbar.")