Skip to content

Commit

Permalink
Merge pull request #58 from ecmwf/develop
Browse files Browse the repository at this point in the history
0.4.9
  • Loading branch information
floriankrb authored Nov 18, 2024
2 parents e1de2b0 + 2837ecd commit c3d3283
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/anemoi/utils/remote/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ def __init__(
):
if target == ".":
target = os.path.basename(source)
if not target:
target = os.path.basename(os.path.dirname(source))

temporary_target = {
False: None,
Expand Down

0 comments on commit c3d3283

Please sign in to comment.