From 62963c70e95fb1e60c9e29b832b75703361a84b5 Mon Sep 17 00:00:00 2001 From: Mateusz Brzezinski Date: Mon, 22 Mar 2021 14:31:58 +0100 Subject: [PATCH] Fix --- moonraker/components/spool_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moonraker/components/spool_manager.py b/moonraker/components/spool_manager.py index c5e66948b..f4d96845d 100644 --- a/moonraker/components/spool_manager.py +++ b/moonraker/components/spool_manager.py @@ -151,7 +151,7 @@ def find_all_spools(self, show_inactive: bool) -> List[dict]: if not show_inactive: spools = {k: v for k, v in spools if v['active'] is True} - return spools + return dict(spools) def track_filament_usage(self, job_id: str, used_length: float): spool_id = self.get_active_spool_id()