WHERE deprecated = FALSE os_images

This commit is contained in:
forest 2020-05-19 23:04:28 -05:00
parent f448dd8bac
commit 5a4c67d202
1 changed files with 1 additions and 1 deletions

View File

@ -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():