Skip to content

Commit

Permalink
Merge pull request #6 from Geode-solutions/fix_list_input_extensions
Browse files Browse the repository at this point in the history
fix(list_input_extensions):
  • Loading branch information
JulienChampagnol authored Oct 2, 2023
2 parents 6ac2218 + 5021d28 commit 18be4af
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/opengeodeweb_back/geode_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ def list_input_extensions(
Function that returns a list of all input extensions
Args:
keys -- Tells the function if we want the geode_objects that have a crs
geode_object -- The name of the geode_object
Returns:
An ordered list of input file extensions
"""
Expand All @@ -124,8 +123,9 @@ def list_input_extensions(
for geode_object, value in objects_list().items():
if keys:
for key in keys:
if key in geode_object:
if type(geode_object[key]) == bool and geode_object[key] == True:
if key in value.keys():
print(geode_object)
if type(value[key]) == bool and value[key] == True:
continue
else:
continue
Expand Down

0 comments on commit 18be4af

Please sign in to comment.