Skip to content

Commit

Permalink
polish
Browse files Browse the repository at this point in the history
  • Loading branch information
floriankrb committed Jul 11, 2024
1 parent d383425 commit 4de9c43
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/anemoi/registry/commands/entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,12 @@ def load(self, args):
LOG.info(f"Entry in {collection} has been created : {res}.")

def remove(self, args):
path = args.path
if not path.startswith("/"):
path = "/" + path
rest = Rest()
rest.delete(args.path)
LOG.info(f"{args.path} has been deleted.")
rest.delete(path)
LOG.info(f"{path} has been deleted.")


command = Entry

0 comments on commit 4de9c43

Please sign in to comment.