mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-21 00:19:42 +02:00
add exception type
This commit is contained in:
@ -164,7 +164,7 @@ def process(proc_data):
|
|||||||
try:
|
try:
|
||||||
key_int = int(entry[key])
|
key_int = int(entry[key])
|
||||||
entry[key] = key_int
|
entry[key] = key_int
|
||||||
except (ValueError):
|
except (ValueError, TypeError):
|
||||||
entry[key] = None
|
entry[key] = None
|
||||||
|
|
||||||
return proc_data
|
return proc_data
|
||||||
|
Reference in New Issue
Block a user