Skip to content
Snippets Groups Projects
Unverified Commit bedd124b authored by Sunz3r's avatar Sunz3r Committed by GitHub
Browse files

fix bug in getCPUinfo()

Odroid C1 with Armbian does not list "model name"  in "/proc/cpuinfo"
parent 935c45a3
No related branches found
No related tags found
No related merge requests found
......@@ -70,6 +70,9 @@ class Nodeinfo(Respondd):
if lineMatch:
ret[lineMatch.group(1)] = lineMatch.group(2)
if 'model name' not in ret:
ret["model name"] = ret["Processor"]
return ret
@staticmethod
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment