From 780cef4165e685a5f43ea1c32864072e67e56a1a Mon Sep 17 00:00:00 2001 From: Guy Sheffer Date: Thu, 2 May 2024 23:09:23 +0300 Subject: [PATCH] Remove destinations keyword #424 --- octoprint_telegram/telegramCommands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/octoprint_telegram/telegramCommands.py b/octoprint_telegram/telegramCommands.py index 04653a2..02ef32b 100644 --- a/octoprint_telegram/telegramCommands.py +++ b/octoprint_telegram/telegramCommands.py @@ -2793,7 +2793,7 @@ def fileList(self, pathHash, page, cmd, chat_id, wait=0): path = "/".join(fullPath.split("/")[1:]) self._logger.debug("fileList path : " + str(path)) fileList = self.main._file_manager.list_files( - path=path, destinations=dest, recursive=False + path=path, recursive=False ) files = fileList[dest] arrayD = []