Add call to super init.
This commit is contained in:
parent
eb4e381022
commit
5a06d78a65
1 changed files with 1 additions and 0 deletions
|
@ -808,6 +808,7 @@ class Object(metaclass=abc.ABCMeta):
|
|||
'''
|
||||
Your subclass should call super().__init__(database).
|
||||
'''
|
||||
super().__init__()
|
||||
# Used for transaction
|
||||
self._worms_database = database
|
||||
self.deleted = False
|
||||
|
|
Loading…
Reference in a new issue