From 883bd933d57ee43f4804ed285f761512984095b8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Bedna=C5=99=C3=ADk?= <jan.bednarik@gmail.com>
Date: Mon, 23 Aug 2021 14:45:53 +0200
Subject: [PATCH] elections2021: Fix export

---
 elections2021/management/commands/export_program.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/elections2021/management/commands/export_program.py b/elections2021/management/commands/export_program.py
index 4fc22ba6..e5a4f300 100644
--- a/elections2021/management/commands/export_program.py
+++ b/elections2021/management/commands/export_program.py
@@ -8,7 +8,7 @@ from django.template.loader import render_to_string
 from django.utils import timezone
 from PyPDF2 import PdfFileMerger
 from weasyprint import CSS, HTML, default_url_fetcher
-from weasyprint.fonts import FontConfiguration
+from weasyprint.text.fonts import FontConfiguration
 
 from ...constants import BENEFITS_CHOICES, MINISTRY_CHOICES, MINISTRY_CODES
 from ...models import Elections2021ProgramPointPage
-- 
GitLab