diff options
Diffstat (limited to 'www/lang/checklang.py')
| -rwxr-xr-x | www/lang/checklang.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/www/lang/checklang.py b/www/lang/checklang.py index 307f51df..c2ddc189 100755 --- a/www/lang/checklang.py +++ b/www/lang/checklang.py @@ -1,7 +1,7 @@ #!/usr/bin/env python from __future__ import absolute_import, division, print_function, unicode_literals import sys -import json +import simplejson as json import os import getopt @@ -53,8 +53,8 @@ def compare(fname): with open (i) as json_data: try: newKeys = json.load(json_data) - except ValueError: - print('could not parse %s, skipping!' %fname) + except ValueError as err: + print('could not parse %s, skipping! %s' %(fname, err)) globBad+=1 return json_data.close() |
