]> git.ipfire.org Git - pakfire.git/commitdiff
hub: Correctly read the CPU model
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 28 Apr 2023 08:44:11 +0000 (08:44 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 28 Apr 2023 09:43:53 +0000 (09:43 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/pakfire/hub.py

index 15ee9a37728ebb647924f0947264726f2d4c69a6..a89705227168d232c0b73f8ace21eb2b809d6dcf 100644 (file)
@@ -601,7 +601,7 @@ class ControlConnection(HubObject):
                        "type" : "stats",
                        "data" : {
                                # CPU info
-                               "cpu_model"       : self.cpu.get("brand_raw"),
+                               "cpu_model"       : self.cpu.get("brand"),
                                "cpu_count"       : self.cpu.get("count"),
                                "cpu_arch"        : self.native_arch,