Skip to content

Commit

Permalink
Added small docstring to 'create_folder'
Browse files Browse the repository at this point in the history
  • Loading branch information
dalmijn committed Aug 11, 2023
1 parent c15ee9b commit d21e47a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hydromt/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def partition_dictionaries(left, right):


def create_folder(path):
"""Create a folder if there is none"""
if not os.path.exists(path):
os.makedirs(path)

Expand Down

0 comments on commit d21e47a

Please sign in to comment.