Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mlc/action.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ def rm(self, i):

if len(res['list']) == 0:
# Do not error out if fetch_all is used
if inp["fetch_all"] == True:
if inp.get("fetch_all", False) == True:
logger.warning(f"{target_name} is empty! nothing to be cleared!")
return {"return": 0}
else:
Expand Down
Loading