Skip to content

Commit

Permalink
fixed BaseOp repr
Browse files Browse the repository at this point in the history
  • Loading branch information
mkazmier committed Mar 19, 2020
1 parent f65f050 commit f6a34c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imgtools/ops/ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def __call__(self, *args, **kwargs):
raise NotImplementedError

def __repr__(self):
attrs = [(k, v) for k, v in self.__dict__ if not k.startswith("_")]
attrs = [(k, v) for k, v in self.__dict__.items() if not k.startswith("_")]
args = ", ".join(f"{k}={v}" for k, v in attrs)
return f"{self.__class__.__module__}.{self.__class__.__name__}({args})"

Expand Down

0 comments on commit f6a34c4

Please sign in to comment.