fixed adding __str__ to cloud type

This commit is contained in:
Daniel Sagi
2021-06-17 15:11:19 +00:00
parent f7e73fe642
commit f6e43e2bbb
+3
View File
@@ -27,6 +27,9 @@ class Cloud:
def __init__(self, name):
self.name = name
def __str__(self):
return self.name
class UnknownCloud(Cloud):
def __init__(self):
super(UnknownCloud, self).__init__("Unknown Cloud")