1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-19 00:17:51 +02:00

simplify warning message

This commit is contained in:
Kelly Brazil
2022-02-24 20:52:18 -08:00
parent 6ae1d03187
commit 4bdeb2b3aa

View File

@ -288,7 +288,7 @@ def _parse_device(next_lines: List[str], quiet: bool = False) -> Optional[Device
device[k] = int(v) device[k] = int(v)
except ValueError and not quiet: except ValueError and not quiet:
jc.utils.warning_message( jc.utils.warning_message(
[f"Error: {next_line} : {k} - {v} is not int-able"] [f"{next_line} : {k} - {v} is not int-able"]
) )
while next_lines: while next_lines: