Ошибка при выполнении patch формата, если он содержит не patch #69

Closed
opened 3 years ago by icerider · 0 comments
Collaborator
{% calculate format='patch' %}
<reg>test</reg>
<text>zxcv</text>
  File "/var/calculate/calculate-utils-4-lib/calculate/templates/template_processor.py", line 989, in _append_join_file
    if (not parsed_template and template_object.parameters.source
  File "/var/calculate/calculate-utils-4-lib/calculate/templates/format/base_format.py", line 405, in __bool__
    return bool(self._document_dictionary)
AttributeError: 'PatchFormat' object has no attribute '_document_dictionary'
``` {% calculate format='patch' %} <reg>test</reg> <text>zxcv</text> ``` ``` File "/var/calculate/calculate-utils-4-lib/calculate/templates/template_processor.py", line 989, in _append_join_file if (not parsed_template and template_object.parameters.source File "/var/calculate/calculate-utils-4-lib/calculate/templates/format/base_format.py", line 405, in __bool__ return bool(self._document_dictionary) AttributeError: 'PatchFormat' object has no attribute '_document_dictionary' ```
derzeitgeist closed this issue 3 years ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: calculate/calculate-utils-4-lib#69
Loading…
There is no content yet.