Replace slash in container name

This commit is contained in:
Einar Forselv 2019-04-18 05:34:01 +02:00
parent 6a46632716
commit 587817fbf5
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ class Container:
def __init__(self, data):
self._data = data
self.id = data['Id']
self.name = data['Name']
self.name = data['Name'].replace('/', '')
self._state = data.get('State')
self._config = data.get('Config')