From ecd55063697ed23d125098fd143bcefbcc3b942d Mon Sep 17 00:00:00 2001 From: Evgeny Fadeev Date: Sat, 27 Feb 2010 23:26:07 -0500 Subject: two bugfixes --- fbconnect/pjson.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fbconnect') diff --git a/fbconnect/pjson.py b/fbconnect/pjson.py index 6a395b97..273b684e 100755 --- a/fbconnect/pjson.py +++ b/fbconnect/pjson.py @@ -155,8 +155,8 @@ class JsonReader(object): except KeyError: try: result = int(ch) - except ValueError: - raise ReadException, "The character %s is not a hex digit." % ch + except ValueError: + raise ReadException, "The character %s is not a hex digit." % ch return result def _readComment(self): -- cgit v1.2.3-1-g7c22