Skip to content

Commit 3484f1a

Browse files
authored
FeatureGetResponse string cast always return str
1 parent 402357f commit 3484f1a

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)