From a38c940e448ade1b1bc616ad196aa7cfc3deb91e Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Tue, 29 Mar 2022 13:35:00 +0200 Subject: [PATCH] return to the origin of firewire 2 --- ereuse_devicehub/parser/computer.py | 2 +- ereuse_devicehub/parser/parser.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ereuse_devicehub/parser/computer.py b/ereuse_devicehub/parser/computer.py index 54e75093..4b93ec4c 100644 --- a/ereuse_devicehub/parser/computer.py +++ b/ereuse_devicehub/parser/computer.py @@ -319,7 +319,7 @@ class Motherboard(Component): super().__init__(node) self.from_lshw(node) self.usb = self.num_interfaces(node, 'usb') - self.firewire = str(self.num_interfaces(node, 'firewire')) + self.firewire = self.num_interfaces(node, 'firewire') self.serial = self.num_interfaces(node, 'serial') self.pcmcia = self.num_interfaces(node, 'pcmcia') self.slots = int(2) diff --git a/ereuse_devicehub/parser/parser.py b/ereuse_devicehub/parser/parser.py index 73b8aa6a..fde14ea3 100644 --- a/ereuse_devicehub/parser/parser.py +++ b/ereuse_devicehub/parser/parser.py @@ -98,7 +98,7 @@ class ParseSnapshot: "serialNumber": moder_board.get("Serial Number"), "manufacturer": moder_board.get("Manufacturer"), "biosDate": self.get_bios_date(), - "firewire": self.get_firmware(), + # "firewire": self.get_firmware(), "ramMaxSize": self.get_max_ram_size(), "ramSlots": len(self.dmi.get("Memory Device")), "slots": self.get_ram_slots(),