From 5a4c67d2026f498016fb8084f74a75e5f9c4eef4 Mon Sep 17 00:00:00 2001 From: forest Date: Tue, 19 May 2020 23:04:28 -0500 Subject: [PATCH] WHERE deprecated = FALSE os_images --- capsulflask/db_model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/capsulflask/db_model.py b/capsulflask/db_model.py index 57c86a0..32fb779 100644 --- a/capsulflask/db_model.py +++ b/capsulflask/db_model.py @@ -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():