bitmask.py: fix failed unit tests

This commit is contained in:
dogeystamp 2022-08-03 17:16:13 -04:00
parent 4f68a5d677
commit 94ba8ba272
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38

View File

@ -62,7 +62,7 @@ class Bitmask:
@AllFlags.setter
def AllFlags(self, value):
if not issubclass(type(self.AllFlags), EnumMeta):
if not issubclass(type(value), EnumMeta):
raise TypeError("flags aren't Enum values")
# Allow setting only once