mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
host details cpu bug fixed
This commit is contained in:
parent
20e8b876e4
commit
6a7f30d4a6
2 changed files with 1 additions and 2 deletions
|
|
@ -7,7 +7,7 @@ def cpu_version(doc):
|
|||
for info in doc.xpath('/sysinfo/processor/entry'):
|
||||
elem = info.xpath('@name')[0]
|
||||
if elem == 'version':
|
||||
return info
|
||||
return info.text
|
||||
return 'Unknown'
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue