diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2016-09-22 19:29:03 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2016-09-22 19:29:03 -0400 |
| commit | 64d523ebc1ec016a8c61e412bcb91d3758836d89 (patch) | |
| tree | 6331118d2386c16332d2a9c2dacaa01e0611f2e5 /www/lang/checklang.py | |
| parent | 6f9c7f440c9c7fdacd907e22c5392febee8bc832 (diff) | |
updates
Former-commit-id: 04324a445d7214d21e616e044451bb79acc5a207
Diffstat (limited to 'www/lang/checklang.py')
| -rwxr-xr-x | www/lang/checklang.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/www/lang/checklang.py b/www/lang/checklang.py index e0ba484a..cf3291fe 100755 --- a/www/lang/checklang.py +++ b/www/lang/checklang.py @@ -47,8 +47,9 @@ def compare (fname): with open (i) as json_data: try: newKeys = json.load(json_data) - except ValueError: + except ValueError as e: print 'could not parse %s, skipping!' %fname + print 'Error was %s' % str(e) globBad+=1 return json_data.close() |
