WHERE deprecated = FALSE os_images
This commit is contained in:
@ -38,7 +38,7 @@ class DBModel:
|
||||
return list(map(lambda x: x[0], self.cursor.fetchall()))
|
||||
|
||||
def operating_systems_dict(self,):
|
||||
self.cursor.execute("SELECT id, template_image_file_name, description FROM os_images")
|
||||
self.cursor.execute("SELECT id, template_image_file_name, description FROM os_images WHERE deprecated = FALSE")
|
||||
|
||||
operatingSystems = dict()
|
||||
for row in self.cursor.fetchall():
|
||||
|
Reference in New Issue
Block a user