bugfix
This commit is contained in:
@@ -8,8 +8,7 @@ from googleapiclient.discovery import build
|
||||
from googleapiclient.errors import HttpError
|
||||
|
||||
# Importiere die neue Bibliothek
|
||||
from gdoctableapppy.docs_table_app import DocsTableApp
|
||||
from gdoctableapppy.utility import Utility
|
||||
from gdoctableapppy.gdoctableapp import DocsTableApp
|
||||
|
||||
# --- Konfiguration ---
|
||||
CSV_FILENAME = 'Namensliste.csv'
|
||||
@@ -69,7 +68,7 @@ def generate_tables_with_gdoctableapp(docs_service, document_id_to_fill):
|
||||
# Die Bibliothek erwartet 'creds' oder 'service'. Da wir 'service' haben:
|
||||
try:
|
||||
dta = DocsTableApp(service=docs_service)
|
||||
util = Utility() # Für endOfSegmentLocation, falls wir es für Text außerhalb brauchen
|
||||
#util = Utility() # Für endOfSegmentLocation, falls wir es für Text außerhalb brauchen
|
||||
except Exception as e_dta_init:
|
||||
print(f"Fehler bei der Initialisierung von DocsTableApp: {e_dta_init}")
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user