Pollutant: Fix db create.

scenarios
Pierre-Antoine 2025-09-05 10:07:13 +02:00
parent bdf9264963
commit bd1edbaf30
1 changed files with 4 additions and 1 deletions

View File

@ -319,7 +319,10 @@ class Pollutants(SQLSubModel):
)
""")
return True
if ext != "":
return True
return cls._create_submodel(execute)
@classmethod
def _db_update(cls, execute, version, data=None):