diff options
author | Petr Šmerkl <46304018+SveterCZE@users.noreply.github.com> | 2021-03-14 01:25:12 +0100 |
---|---|---|
committer | Petr Šmerkl <46304018+SveterCZE@users.noreply.github.com> | 2021-03-14 01:25:12 +0100 |
commit | b0176b943aa21db7c0dd8305fc19d2011c1a2d9f (patch) | |
tree | 1397cdcd317bdec846c0a199ee739f26371708e2 /justice_main.py | |
parent | 3c1fd0285ebff35428ad0512d3e371980642270e (diff) | |
download | justice-b0176b943aa21db7c0dd8305fc19d2011c1a2d9f.tar.gz |
multiple tweaks and new features
Diffstat (limited to 'justice_main.py')
-rw-r--r-- | justice_main.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/justice_main.py b/justice_main.py index f5cf561..38d6cce 100644 --- a/justice_main.py +++ b/justice_main.py @@ -184,7 +184,9 @@ def find_spolecnik(c, ICO, elem2, conn, primary_sql_key, element): zapis_datum = str(get_prop(elem, "zapisDatum"))
vymaz_datum = str(get_prop(elem, "vymazDatum"))
spolecnik_oznaceni = str(get_prop(elem, "hlavicka"))
- if spolecnik_type == "SPOLECNIK_OSOBA" and spolecnik_oznaceni == "Společník":
+ # TODO Chech these conditions, they sometimes cause a person not being stored (IC 27650081)
+ # if spolecnik_type == "SPOLECNIK_OSOBA" and spolecnik_oznaceni == "Společník":
+ if spolecnik_type == "SPOLECNIK_OSOBA":
# TODO alternativy pro None, Spolecny podil a Uvolneny podil
text_spolecnik = str(get_prop(elem, "hodnotaUdaje/textZaOsobu/value"))
nazev = str(get_prop(elem, "osoba/nazev"))
|