mirror of
https://gitlab.com/chicken-riders/RcGcDb.git
synced 2025-02-23 00:54:09 +00:00
fixing Python 3.9 compat with object's getstate
This commit is contained in:
parent
482fa31929
commit
a0e3c9ca75
|
@ -240,7 +240,7 @@ class StackedDiscordMessage:
|
|||
obj_copy = self.__dict__.copy()
|
||||
del obj_copy['wiki']
|
||||
return obj_copy
|
||||
return super().__getstate__()
|
||||
return self.__dict__
|
||||
|
||||
def is_empty(self):
|
||||
return len(self.message_list) == 0
|
||||
|
|
Loading…
Reference in a new issue