Fix nasty bug for debian images

This commit is contained in:
gryf committed 2023-07-04 18:48:18 +02:00
1 parent 55416db13d
commit 43eabb9947
1 file changed
+3 -1
+3 -1
View File
@@ -18,7 +18,7 @@ import requests
import yaml
__version__ = "1.9"
__version__ = "1.9.1"
CACHE_DIR = os.environ.get('XDG_CACHE_HOME', os.path.expanduser('~/.cache'))
CLOUD_IMAGE = "ci.iso"
@@ -640,6 +640,8 @@ class OsTypes:
if name not in self._ostypes:
return 'Debian_64'
return name
def get(self):
if not hasattr(self, self._conf.distro):
return "Linux_64"