Skip to content

Commit 77ac457

Browse files
committed
Merge pull request #14 from gera/patch-2
Fix str conversion of numerical fields
2 parents 034b9ec + fe2407b commit 77ac457

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jsonpath_rw/jsonpath.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ def find(self, datum):
416416
if field_datum is not None]
417417

418418
def __str__(self):
419-
return ','.join(self.fields)
419+
return ','.join(map(str, self.fields))
420420

421421
def __repr__(self):
422422
return '%s(%s)' % (self.__class__.__name__, ','.join(map(repr, self.fields)))

0 commit comments

Comments
 (0)