From f7a0f43cabd83846de16701178b5dee74b51458c Mon Sep 17 00:00:00 2001 From: Nico Angelo Date: Mon, 2 Oct 2023 14:50:03 +0200 Subject: [PATCH] fix get attachment command --- src/utils/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/utils.py b/src/utils/utils.py index 0c0883c..743954b 100644 --- a/src/utils/utils.py +++ b/src/utils/utils.py @@ -40,7 +40,7 @@ def sync_bw(logger, force=False): def get_attachment(logger, id, name): - return command_wrapper(logger, command=f"get attachment {name} {id}", raw=True) + return command_wrapper(logger, command=f"get attachment {name} --itemid {id}", raw=True) def unlock_bw(logger):