1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2026-04-24 20:56:11 +02:00

use stdlib int conversion

This commit is contained in:
Kelly Brazil
2022-09-19 20:35:18 -07:00
parent 52d98a1157
commit 3df006fb97
+1 -1
View File
@@ -171,7 +171,7 @@ def _process(proc_data: List[Dict]) -> List[Dict]:
for entry in proc_data:
for key in entry:
if key in int_list:
entry[key] = jc.utils.convert_to_int(entry[key])
entry[key] = int(entry[key])
if 'mount_options' in entry:
entry['mount_options'] = entry['mount_options'].split(',')