Parse all numbers as numbers

Typo prevented integers starting with 2 in affected places (command-line 
--renderer-arg parsing and POWERLINE_…_OVERRIDES parsing) from being parsed as 
integers.
This commit is contained in:
Foo 2015-05-23 15:09:33 +03:00
parent d6e7cbfaac
commit 524fc317ad
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ def parse_value(s):
'''
if not s:
return REMOVE_THIS_KEY
elif s[0] in '"{[0193456789-' or s in ('null', 'true', 'false'):
elif s[0] in '"{[0123456789-' or s in ('null', 'true', 'false'):
return json.loads(s)
else:
return s