Update app.py
Browse files
app.py
CHANGED
|
@@ -206,7 +206,7 @@ def markdown_to_pdf(markdown_content: str, output_path: str) -> str:
|
|
| 206 |
html_content = re.sub(r'<h2>', r'<h2 class="exercise-break">', html_content)
|
| 207 |
|
| 208 |
# Get the logo path
|
| 209 |
-
logo_path = Path(__file__).parent
|
| 210 |
logo_exists = logo_path.exists()
|
| 211 |
|
| 212 |
# Add CSS styling with IPMentor branding colors
|
|
|
|
| 206 |
html_content = re.sub(r'<h2>', r'<h2 class="exercise-break">', html_content)
|
| 207 |
|
| 208 |
# Get the logo path
|
| 209 |
+
logo_path = Path(__file__).parent / "assets" / "logo.svg"
|
| 210 |
logo_exists = logo_path.exists()
|
| 211 |
|
| 212 |
# Add CSS styling with IPMentor branding colors
|