From c4fab1b7e65b9b253b20b535be51842c61c45530 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 15 May 2023 11:08:39 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20swu:=20fix=20httpheader=20check?= =?UTF-8?q?=20type?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It was not storing its current value properly, thanks to an incomplete refactoring ages ago during which etag and lastmodified types were joined into httpheader. Closes #4806 --- src/octoprint/plugins/softwareupdate/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/plugins/softwareupdate/__init__.py b/src/octoprint/plugins/softwareupdate/__init__.py index 43886af01..d271c1041 100644 --- a/src/octoprint/plugins/softwareupdate/__init__.py +++ b/src/octoprint/plugins/softwareupdate/__init__.py @@ -61,7 +61,7 @@ class SoftwareUpdatePlugin( octoprint.plugin.EventHandlerPlugin, ): COMMIT_TRACKING_TYPES = ("github_commit", "bitbucket_commit") - CURRENT_TRACKING_TYPES = COMMIT_TRACKING_TYPES + ("etag", "lastmodified", "jsondata") + CURRENT_TRACKING_TYPES = COMMIT_TRACKING_TYPES + ("httpheader", "jsondata") RELEASE_TRACKING_TYPES = ("github_release",) OCTOPRINT_RESTART_TYPES = ("pip", "single_file_plugin")