Do not pass class to __table_handler__ classmethod

This commit is contained in:
Nicolas Évrard committed 2023-03-13 17:56:41 +01:00
1 parent d945809d35
commit 09dbef446e
1 file changed
+1 -1
+1 -1
View File
@@ -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)