add prints

This commit is contained in:
Cayo Puigdefabregas 2024-09-20 19:48:53 +02:00
parent bdaaa2740d
commit ebe80ffea6
1 changed files with 2 additions and 0 deletions

View File

@ -116,5 +116,7 @@ class Build:
mac = get_mac(hwinfo_raw) or ""
if not mac:
print("WARNING!! No there are MAC address")
else:
print(f"{manufacturer}{model}{chassis}{serial_number}{sku}{mac}")
return f"{manufacturer}{model}{chassis}{serial_number}{sku}{mac}"