SPB Git forge

spb/immo-ka

Public

Immo-Ka — agrégateur des propriétés à vendre au Québec (73 connecteurs, ~40 000 annonces, React+FastAPI)

112commits 1branches 0releases
125.4 MBsize
maindefault branch
13 days agolast push
Python 47.5% HTML 27.9% TypeScript 15.5% CSS 7.2% JavaScript 2%

kapdf : pas d en-tête/pied sur la couverture (correctif moteur commun)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Simon-Pierre Boucher committed 1 mo ago (Aug 18, 2026) parent df43e19

1 changed file +2 −2

modified immoka/kapdf.py +2 −2
@@ -79,7 +79,7 @@ class _PDF(FPDF):
79 79 self.set_auto_page_break(True, margin=22)
80 80
81 81 def header(self):
82 − if self.cover_mode:
82 + if self.cover_mode or self.page_no() == 1:
83 83 return
84 84 self.set_font("helvetica", "B", 8.5)
85 85 self.set_text_color(*INK)
@@ -95,7 +95,7 @@ class _PDF(FPDF):
95 95 self.set_y(20)
96 96
97 97 def footer(self):
98 − if self.cover_mode:
98 + if self.cover_mode or self.page_no() == 1:
99 99 return
100 100 self.set_y(-15)
101 101 self.set_draw_color(*INK3)
102 102