Merge pull request #18 from kalos/master

grab PVE version without revision (ex: 6.0 not 6.0-7)
This commit is contained in:
Xabi 2019-11-19 08:27:26 +01:00 committed by GitHub
commit d9541cc1c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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):