summaryrefslogtreecommitdiff
path: root/ishtar_common/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/views.py')
-rw-r--r--ishtar_common/views.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ishtar_common/views.py b/ishtar_common/views.py
index f89ea865a..a2c041030 100644
--- a/ishtar_common/views.py
+++ b/ishtar_common/views.py
@@ -872,6 +872,9 @@ def get_by_importer(
cols, col_names = importer.get_columns(importer_class=importer_class)
if data_type == "csv" or dct.get("type", "") == "csv":
obj_name = importer.name
+ print(obj_name)
+ elif data_type == "gpkg" or dct.get("type", "") == "gpkg":
+ obj_name = importer.name
else:
obj_name = importer_class.OBJECT_CLS.__name__.lower()
return get_item(importer_class.OBJECT_CLS, "get_" + obj_name, obj_name,