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:
@ -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:
|
||||||
|
Reference in New Issue
Block a user