Merge pull request #18 from kalos/master
grab PVE version without revision (ex: 6.0 not 6.0-7)
This commit is contained in:
commit
d9541cc1c8
|
@ -86,7 +86,7 @@ class ProxmoxPoolList(list):
|
|||
|
||||
class ProxmoxVersion(dict):
|
||||
def get_version(self):
|
||||
return float(self['version'])
|
||||
return float(self['version'].split('-')[0])
|
||||
|
||||
|
||||
class ProxmoxPool(dict):
|
||||
|
|
Reference in New Issue