Skip to content

Commit

Permalink
fix: MachineType fstring
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris-Peterson444 committed Oct 21, 2023
1 parent 1f4a039 commit f993ece
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apport/hookutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def attach_hardware(report):
if "dmi.sys.vendor" in report and "dmi.product.name" in report:
report[
"MachineType"
] = "{report['dmi.sys.vendor']} {report['dmi.product.name']}"
] = f"{report['dmi.sys.vendor']} {report['dmi.product.name']}"

if command_available("prtconf"):
report["Prtconf"] = command_output(["prtconf"])
Expand Down

0 comments on commit f993ece

Please sign in to comment.