WIP memory editor

This commit is contained in:
2024-11-23 21:36:50 +01:00
parent dbc0068a82
commit 2c820f6ead
15 changed files with 467 additions and 37 deletions

View File

@@ -135,7 +135,7 @@ class BackgroundEntry(Entry):
Returns:
ET.Element: XML element containing the entry's data
"""
element = ET.Element("background", {"id": self._id})
element = ET.Element("background", {"id": self.id})
if self._process is not None:
element.set("pid", str(self._process.pid))
elif self.exit_code is not None:
@@ -154,7 +154,7 @@ class BackgroundEntry(Entry):
"""
return {
"type": "background",
"id": self._id,
"id": self.id,
"script": self.script,
"stdout": self.stdout,
"stderr": self.stderr,