From 7d6ac5d91bb9b2c98495fdc0c40f93df091a6f85 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Tue, 16 Jul 2024 12:23:34 +0200 Subject: [PATCH] woops --- changedetectionio/processors/restock_diff/forms.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/changedetectionio/processors/restock_diff/forms.py b/changedetectionio/processors/restock_diff/forms.py index 6ee45220..825edff3 100644 --- a/changedetectionio/processors/restock_diff/forms.py +++ b/changedetectionio/processors/restock_diff/forms.py @@ -53,11 +53,11 @@ class processor_settings_form(processor_text_json_diff_form): When OFF - Only care about restock detection
- {{ render_field(form.restock_settings.price_change_min, placeholder=watch['restock'].get('price')) }} + {{ render_field(form.restock_settings.price_change_min, placeholder=watch.get('restock', {}).get('price')) }} Minimum amount, only trigger a change when the price is less than this amount.
- {{ render_field(form.restock_settings.price_change_max, placeholder=watch['restock'].get('price')) }} + {{ render_field(form.restock_settings.price_change_max, placeholder=watch.get('restock', {}).get('price')) }} Maximum amount, only trigger a change when the price is more than this amount.