Commit 62fb811875daa429c312d6fbe08c7559645d1f01
1 parent
4a14d467
poprawka do historii wzorów
Showing
1 changed file
with
2 additions
and
2 deletions
dictionary/pattern_history.py
... | ... | @@ -124,7 +124,7 @@ def transaction_table(transaction_data): |
124 | 124 | if column: |
125 | 125 | ending_qualifiers[item1.row_id][column] = before_after |
126 | 126 | if deleted: |
127 | - return deleted_pattern_table(transaction_data[0].lexeme) | |
127 | + return deleted_pattern_table(transaction_data[0].pattern) | |
128 | 128 | rows = [] |
129 | 129 | for attr in pattern_attribute_order: |
130 | 130 | if attr in transaction_dict: |
... | ... | @@ -137,7 +137,7 @@ def transaction_table(transaction_data): |
137 | 137 | for q_data in ending_qualifiers.itervalues(): |
138 | 138 | if q_data: |
139 | 139 | attr = u'kwalifikator' |
140 | - ending_data = q_data['lexemeinflectionpattern_id'] | |
140 | + ending_data = q_data['ending_id'] | |
141 | 141 | ending_id = int(ending_data[0] or ending_data[1]) |
142 | 142 | ending_dict.add(ending_id, (attr, q_data['qualifier_id'])) |
143 | 143 | ending_tables = [] |
... | ... |