WIP memory editor
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user