Skip to content

Commit fc63106

Browse files
authored
Update parser.py
1 parent b3a7a78 commit fc63106

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/jsonparse/parser.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ def find_key(self, data, key, partial, case_sensitive):
5555
# type: (Union[dict, list, OrderedDict], str) -> list
5656
if not self._valid_key_input(data, key):
5757
raise
58-
5958
if partial and len(key)==0:
6059
raise
6160

@@ -476,4 +475,4 @@ def _valid_value_input(self, data, value):
476475
raise TypeError
477476
elif not isinstance(value, (str, int, float, bool, type(None))):
478477
raise TypeError
479-
return True
478+
return True

0 commit comments

Comments
 (0)