Skip to content

Commit b1b2351

Browse files
authored
Aktualisieren von commons.py
1 parent 555ceff commit b1b2351

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

scratchattach/editor/commons.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -262,10 +262,7 @@ class SingletonMeta(EnumMeta):
262262
def __call__(self, value=0, *args, **kwds):
263263
if value != 0:
264264
raise ValueError("Value must be 0.")
265-
cls = self.__class__
266-
self.__class__ = EnumMeta
267265
result = super().__call__(value, *args, **kwds)
268-
self.__class__ = cls
269266
return result
270267

271268
if TYPE_CHECKING:

0 commit comments

Comments
 (0)