diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2017-10-01 07:45:55 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2017-10-01 07:45:55 -0400 |
| commit | 8fe3b06d40b0c052ba915fb76874e1d02b04c5bb (patch) | |
| tree | 92a843ed63ad1581319e048dad9b6d1d46d25c3e /www/lang/checklang.py | |
| parent | abb3fb46f5614cc9c3089b90e5cf174695670f50 (diff) | |
updates
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() |
