Skip to content
This repository has been archived by the owner on Oct 20, 2022. It is now read-only.

Commit

Permalink
Bugfix TypeError issubclass arg must be a class
Browse files Browse the repository at this point in the history
  • Loading branch information
matusnovak committed Oct 31, 2019
1 parent 78014ea commit b416a87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doxybook/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from typing import TextIO
from jinja2 import Template
from jinja2.exceptions import TemplateSyntaxError, TemplateError
from jinja2 import StrictUndefined
from jinja2 import StrictUndefined, Undefined
from doxybook.node import Node, DummyNode
from doxybook.constants import Kind
from doxybook.templates.annotated import TEMPLATE as ANNOTATED_TEMPLATE
Expand Down Expand Up @@ -47,7 +47,7 @@ class Generator:
def __init__(self, ignore_errors: bool = False, options: dict = {}):
self.options = options

on_undefined_class = None
on_undefined_class = Undefined
if not ignore_errors:
on_undefined_class = StrictUndefined

Expand Down

0 comments on commit b416a87

Please sign in to comment.