Skip to content

Commit a5121a2

Browse files
Merge pull request #513 from aleixq/master
TypeError when empty xml elements in response
2 parents 402357f + 3484f1a commit a5121a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎python3/vdebug/dbgp.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def is_supported(self):
181181
def __str__(self):
182182
if self.is_supported():
183183
xml = self.as_xml()
184-
return xml.text
184+
return xml.text if xml.text else ""
185185
return "* Feature not supported *"
186186

187187

0 commit comments

Comments
 (0)