Skip to content

Commit 18be4af

Browse files
Merge pull request #6 from Geode-solutions/fix_list_input_extensions
fix(list_input_extensions):
2 parents 6ac2218 + 5021d28 commit 18be4af

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/opengeodeweb_back/geode_functions.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ def list_input_extensions(
115115
Function that returns a list of all input extensions
116116
Args:
117117
keys -- Tells the function if we want the geode_objects that have a crs
118-
geode_object -- The name of the geode_object
119118
Returns:
120119
An ordered list of input file extensions
121120
"""
@@ -124,8 +123,9 @@ def list_input_extensions(
124123
for geode_object, value in objects_list().items():
125124
if keys:
126125
for key in keys:
127-
if key in geode_object:
128-
if type(geode_object[key]) == bool and geode_object[key] == True:
126+
if key in value.keys():
127+
print(geode_object)
128+
if type(value[key]) == bool and value[key] == True:
129129
continue
130130
else:
131131
continue

0 commit comments

Comments
 (0)