remove lexoffice name in project

This commit is contained in:
2026-03-06 08:40:53 +01:00
parent b93d9e4def
commit f74f936d72
9 changed files with 39 additions and 39 deletions
+5 -5
View File
@@ -32,12 +32,12 @@ async def lifespan(app: FastAPI):
interval = int(settings.get("interval_minutes", 5))
enabled = settings.get("scheduler_enabled", "false") == "true"
configure_job(interval, enabled)
logger.info("LexOffice Belegimport gestartet")
logger.info("Belegimport gestartet")
yield
logger.info("LexOffice Belegimport beendet")
logger.info("Belegimport beendet")
app = FastAPI(title="LexOffice Belegimport", lifespan=lifespan)
app = FastAPI(title="Belegimport", lifespan=lifespan)
app.mount("/static", StaticFiles(directory="app/static"), name="static")
templates = Jinja2Templates(directory="app/templates")
@@ -73,7 +73,7 @@ async def _save_form_settings(request: Request) -> dict:
"smtp_ssl": form.get("smtp_ssl", "starttls"),
"smtp_username": form.get("smtp_username", ""),
"smtp_password": form.get("smtp_password") or current.get("smtp_password", ""),
"lexoffice_email": form.get("lexoffice_email", ""),
"import_email": form.get("import_email", ""),
"source_folder": form.get("source_folder", "Rechnungen"),
"processed_folder": form.get("processed_folder", "Rechnungen/Verarbeitet"),
"interval_minutes": form.get("interval_minutes", "5"),
@@ -323,5 +323,5 @@ async def separator_pdf():
return Response(
content=pdf_bytes,
media_type="application/pdf",
headers={"Content-Disposition": "attachment; filename=Trennseite_LexOffice.pdf"},
headers={"Content-Disposition": "attachment; filename=Trennseite.pdf"},
)