Make msgs about parse errors more verbose
+ fix small bug in FpdbParseError
This commit is contained in:
@@ -9,8 +9,8 @@ class FpdbParseError(FpdbError):
|
||||
self.value = value
|
||||
self.hid = hid
|
||||
def __str__(self):
|
||||
if hid:
|
||||
return repr("HID:"+hid+", "+self.value)
|
||||
if self.hid:
|
||||
return repr("HID:"+self.hid+", "+self.value)
|
||||
else:
|
||||
return repr(self.value)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user