diff options
Diffstat (limited to 'jsonpath_rw/jsonpath.py')
-rw-r--r-- | jsonpath_rw/jsonpath.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jsonpath_rw/jsonpath.py b/jsonpath_rw/jsonpath.py index 7e45cb9..204b54c 100644 --- a/jsonpath_rw/jsonpath.py +++ b/jsonpath_rw/jsonpath.py @@ -416,7 +416,7 @@ class Fields(JSONPath): if field_datum is not None] def __str__(self): - return ','.join(self.fields) + return ','.join(map(str, self.fields)) def __repr__(self): return '%s(%s)' % (self.__class__.__name__, ','.join(map(repr, self.fields))) |