feat: remove footer from PDF generation and update production image tag
This commit is contained in:
@@ -21,13 +21,6 @@ class MathExercisesPDF(FPDF):
|
||||
)
|
||||
self.ln(10)
|
||||
|
||||
def footer(self):
|
||||
self.set_y(-15)
|
||||
self.set_font("Helvetica", "I", 8)
|
||||
self.cell(
|
||||
0, 10, f"Page {self.page_no()}", 0, 0, "C", new_x="RIGHT", new_y="TOP"
|
||||
)
|
||||
|
||||
|
||||
def generate_exercises(min_table, max_table, num_exercises=15):
|
||||
"""Génère des exercices de multiplication et division aléatoires mélangés sans doublons"""
|
||||
|
||||
Reference in New Issue
Block a user