Permalink
Browse files

small unicode fix

  • Loading branch information...
uberj committed Aug 1, 2013
1 parent 9ffacf2 commit 8cbd9f5a9f4aa6ebb4ea3670d1cf5b42ec565664
Showing with 2 additions and 2 deletions.
  1. +2 −2 invtool/search_dispatch.py
@@ -78,7 +78,7 @@ def display_ranges(free_ranges):
ret_list.append("{0} to {1}".format(fstart, fend))
return ret_list
- results = json.loads(raw_results[0], 'unicode')
+ results = json.loads(raw_results[0])
if not results:
return 1, []
else:
@@ -105,7 +105,7 @@ def query(self, nas):
ret_code, raw_results = self.handle_resp(nas, search, resp)
if ret_code:
return (ret_code, raw_results) # repack and go home
- results = json.loads(raw_results[0], 'unicode')
+ results = json.loads(raw_results[0])
if 'text_response' not in results:
return 1, []
else:

0 comments on commit 8cbd9f5

Please sign in to comment.