bugfix
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user