Skip to content

Commit

Permalink
Fix flag
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardt committed Dec 6, 2022
1 parent 31b0df4 commit 100e4e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magma/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def _make_type(cls, *args, **kwargs):
name = cls.__name__
bases = (cls._base_cls_,)
dct = cls._base_metacls_.__prepare__(name, bases)
if not getattr(cls, "_disable__debug_", False):
if not getattr(cls, "_disable_debug_", False):
# TODO: temp flag for debug bench, do not need
cls.__init__ = debug(cls.__init__)
cls.__init__(dummy, *args, **kwargs)
Expand Down

0 comments on commit 100e4e4

Please sign in to comment.