This commit is contained in:
2025-05-28 08:08:53 +00:00
parent eefdae4e4a
commit afca567075

View File

@@ -54,7 +54,7 @@ def get_services_with_service_account():
try:
if any(s in SCOPES for s in ['https://www.googleapis.com/auth/drive.file', 'https://www.googleapis.com/auth/drive']):
drive_service = build('drive', 'v3', credentials=creds); print("Drive API Service erstellt.")
else: print("WARNUNG: Kein Drive Scope für Drive Service.")
else: print("WARNUNG: Ke in Drive Scope für Drive Service.")
except Exception as e: print(f"Fehler Drive Service: {e}")
return docs_service, drive_service