mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
add copy/paste in pollutant BC + debug
This commit is contained in:
1 parent
e3315c8f81
commit
4b976d3b5f
6 files changed
+98
-2
No files matched your search
@@ -45,7 +45,10 @@ class Pollutants(SQLSubModel):
|
||||
else:
|
||||
self.id = id
|
||||
|
||||
self._name = str(name)
|
||||
if name is None or name == "":
|
||||
self.name = f"pol{self.id}"
|
||||
else:
|
||||
self._name = str(name)
|
||||
self._enabled = True
|
||||
|
||||
self._data = []
|
||||
|
||||
Reference in new issue
Block a user