From 2f641da1828fc27e6fe9823f92d6cff01733a73d Mon Sep 17 00:00:00 2001 From: Brandon Wees Date: Fri, 14 Oct 2022 07:49:28 -0400 Subject: [PATCH] Apply suggestions from code review Co-authored-by: dgtlmoon --- changedetectionio/store.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/changedetectionio/store.py b/changedetectionio/store.py index 0ce0bc676..0f91904c7 100644 --- a/changedetectionio/store.py +++ b/changedetectionio/store.py @@ -582,14 +582,14 @@ class ChangeDetectionStore: # We incorrectly used common header overrides that should only apply to Requests # These are now handled in content_fetcher::html_requests and shouldnt be passed to Playwright/Selenium - def update_8(self): + def update_7(self): # These were hard-coded in early versions for v in ['User-Agent', 'Accept', 'Accept-Encoding', 'Accept-Language']: if self.data['settings']['headers'].get(v): del self.data['settings']['headers'][v] # Generate a previous.txt for all watches that do not have one and contain history - def update_7(self): + def update_8(self): for uuid, watch in self.data['watching'].items(): # Make sure we actually have history if (watch.history_n == 0):