Skip to content

Commit

Permalink
elif seedpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
kjetilbjorke committed Oct 17, 2024
1 parent 38f71a0 commit cf3c85b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/fmu/sumo/sim2sumo/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,9 @@ def find_datafiles(seedpoint=None):
elif isinstance(seedpoint, list):
# If seedpoint is a list, ensure all elements are strings or Path objects
seedpoint = [Path(sp) for sp in seedpoint]
else:
elif seedpoint:
seedpoint = [seedpoint]

if seedpoint:
for sp in seedpoint:
full_path = (
Expand Down

0 comments on commit cf3c85b

Please sign in to comment.