diff options
author | Chris West <solo-github@goeswhere.com> | 2017-11-03 09:19:45 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-03 09:19:45 +0000 |
commit | 0021ba710d7b12f52353e161402377cb5f336e72 (patch) | |
tree | 40c533683fe3a4fc8f98e1e76ba9e33c51eff74b /ghetto_json | |
parent | d2830289f1c4863bfb2ab03919190d8811f1209f (diff) | |
parent | 8953d5d8e32a72905bce94aad9c2604c8247d74e (diff) | |
download | ghetto-json-0021ba710d7b12f52353e161402377cb5f336e72.tar.gz ghetto-json-0021ba710d7b12f52353e161402377cb5f336e72.tar.bz2 ghetto-json-0021ba710d7b12f52353e161402377cb5f336e72.tar.xz ghetto-json-0021ba710d7b12f52353e161402377cb5f336e72.zip |
Merge pull request #8 from bryanlarsen/patch-1
Fix crash when value contains `=`
Diffstat (limited to 'ghetto_json')
-rwxr-xr-x | ghetto_json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ghetto_json b/ghetto_json index 8d9e5bd..ebc3d51 100755 --- a/ghetto_json +++ b/ghetto_json @@ -11,7 +11,7 @@ except ImportError: json_load = json.load def main(params_list): - params = dict(x.split("=", 2) for x in params_list) + params = dict(x.split("=", 1) for x in params_list) path = params.pop('path') changed = False |