more strip from shitty dmidecode (#73)

This commit is contained in:
Solvik 2019-09-10 14:46:04 +02:00 committed by GitHub
parent 5c1e15f9e6
commit 93c6444105
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -76,7 +76,7 @@ class ServerBase():
"""
Return the Chassis Name from dmidecode info
"""
return self.system[0]['Product Name']
return self.system[0]['Product Name'].strip()
def get_service_tag(self):
"""