1
0
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:
Kelly Brazil
2019-11-08 16:02:44 -08:00
parent e02bad2240
commit 6a504fb0e1

View File

@ -164,7 +164,7 @@ def process(proc_data):
try:
key_int = int(entry[key])
entry[key] = key_int
except (ValueError):
except (ValueError, TypeError):
entry[key] = None
return proc_data