Do not pass class to __table_handler__ classmethod
This commit is contained in:
1 parent
d945809d35
commit
09dbef446e
1 file changed
+1
-1
@@ -78,7 +78,7 @@ class Trigger(DeactivableMixin, ModelSQL, ModelView):
|
||||
@classmethod
|
||||
def __register__(cls, module_name):
|
||||
cursor = Transaction().connection.cursor()
|
||||
table = cls.__table_handler__(cls, module_name)
|
||||
table = cls.__table_handler__(module_name)
|
||||
sql_table = cls.__table__()
|
||||
|
||||
super(Trigger, cls).__register__(module_name)
|
||||
|
||||
Reference in new issue
Block a user