diff --git a/apps/wizard/etl_steps/data.py b/apps/wizard/etl_steps/data.py index cc894e3a39f..eb9d1d5f9e4 100644 --- a/apps/wizard/etl_steps/data.py +++ b/apps/wizard/etl_steps/data.py @@ -59,14 +59,14 @@ USING_TAGS_DEFAULT = False try: with get_session() as session: - tag_list = gm.Tag.load_tags(session) - tag_list = ["Uncategorized"] + sorted([tag.name for tag in tag_list]) + tag_list_ = gm.Tag.load_tags(session) + tag_list = ["Uncategorized"] + sorted([tag.name for tag in tag_list_]) except OperationalError: USING_TAGS_DEFAULT = True tag_list = TAGS_DEFAULT # NOTE: Use this when debugging # USING_TAGS_DEFAULT = True -tag_list = TAGS_DEFAULT +# tag_list = TAGS_DEFAULT # Step names STEP_ICONS = { "meadow": ":material/nature:",