From 88a84ff647e8a3fa46af7211d05761f273e8851e Mon Sep 17 00:00:00 2001 From: Pavel 'LEdoian' Turinsky Date: Sun, 15 Jan 2023 12:19:25 +0100 Subject: [PATCH] =?UTF-8?q?Skute=C4=8Dn=C3=BD=20po=C4=8Det=20voli=C4=8D?= =?UTF-8?q?=C5=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- poc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poc.py b/poc.py index 1145670..0c831cb 100755 --- a/poc.py +++ b/poc.py @@ -65,7 +65,7 @@ def get_results() -> Vysledek: def fill_data(vysl) -> tuple[datetime, dict[str, int]]: """Dopočítá ve výsledku zbytek dat.""" - VOLICU_CELKEM = 8_500_000 # Odhad!! + VOLICU_CELKEM = 8_245_962 vysl.kandidati[r'NEPLATNÉ'] = int(vysl.ucast[r'ODEVZDANE_OBALKY']) - int(vysl.ucast[r'PLATNE_HLASY']) vysl.kandidati[r'NEZAPOČÍTANÉ'] = max(0, VOLICU_CELKEM - int(vysl.ucast[r'ZAPSANI_VOLICI'])) vysl.kandidati[r'NEVOLILI'] = int(vysl.ucast[r'ZAPSANI_VOLICI']) - int(vysl.ucast[r'ODEVZDANE_OBALKY'])