🎉 Improved backend structure & documentation, optimized files for better performance. 🛠️ Removed unnecessary files: app_timer_routes.py, settings_copy.cpython-311.pyc, myp.db-shm, myp.db-wal. 📚 Added new files: STRG_C_SHUTDOWN.md, SSL_CONFIG.md.
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -302,8 +302,13 @@ class PDFReportGenerator(BaseReportGenerator):
|
||||
self.story.append(drawing)
|
||||
self.story.append(Spacer(1, 0.2*inch))
|
||||
|
||||
def _create_chart_drawing(self, chart: ChartData) -> Optional[Drawing]:
|
||||
def _create_chart_drawing(self, chart: ChartData) -> Optional[Any]:
|
||||
"""Erstellt ein Diagramm-Drawing"""
|
||||
# Überprüfe ob PDF-Bibliotheken verfügbar sind
|
||||
if not PDF_AVAILABLE:
|
||||
logger.warning("PDF-Bibliotheken nicht verfügbar - Diagramm wird übersprungen")
|
||||
return None
|
||||
|
||||
try:
|
||||
drawing = Drawing(400, 300)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user