mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-05-27 07:29:40 +00:00
host details cpu bug fixed
This commit is contained in:
@@ -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'
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user