bugfix
This commit is contained in:
@@ -8,8 +8,7 @@ from googleapiclient.discovery import build
|
|||||||
from googleapiclient.errors import HttpError
|
from googleapiclient.errors import HttpError
|
||||||
|
|
||||||
# Importiere die neue Bibliothek
|
# Importiere die neue Bibliothek
|
||||||
from gdoctableapppy.docs_table_app import DocsTableApp
|
from gdoctableapppy.gdoctableapp import DocsTableApp
|
||||||
from gdoctableapppy.utility import Utility
|
|
||||||
|
|
||||||
# --- Konfiguration ---
|
# --- Konfiguration ---
|
||||||
CSV_FILENAME = 'Namensliste.csv'
|
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:
|
# Die Bibliothek erwartet 'creds' oder 'service'. Da wir 'service' haben:
|
||||||
try:
|
try:
|
||||||
dta = DocsTableApp(service=docs_service)
|
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:
|
except Exception as e_dta_init:
|
||||||
print(f"Fehler bei der Initialisierung von DocsTableApp: {e_dta_init}")
|
print(f"Fehler bei der Initialisierung von DocsTableApp: {e_dta_init}")
|
||||||
return False
|
return False
|
||||||
|
|||||||
Reference in New Issue
Block a user