diff options
Diffstat (limited to 'scripts/generate_card.py')
| -rwxr-xr-x | scripts/generate_card.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/generate_card.py b/scripts/generate_card.py index 2ec77b8c..7fb8b33a 100755 --- a/scripts/generate_card.py +++ b/scripts/generate_card.py @@ -103,7 +103,7 @@ def get_latex_field(card: MutableMapping, # NOTE: normal and latex_ fields must have the same data type # (both string or both list of strings). if has_latex: - assert type(latex_value) == type(normal_value) + assert isinstance(latex_value, type(normal_value)) # If the fetched value is not a list we are done here if has_latex: |
