diff --git a/changedetectionio/processors/restock_diff/forms.py b/changedetectionio/processors/restock_diff/forms.py index 3b89d523..bfebed61 100644 --- a/changedetectionio/processors/restock_diff/forms.py +++ b/changedetectionio/processors/restock_diff/forms.py @@ -47,11 +47,11 @@ class processor_settings_form(processor_text_json_diff_form): When OFF - Only care about restock detection
- {{ render_field(form.price_change_min, placeholder=watch['restock']['price']) }} + {{ render_field(form.price_change_min, placeholder=watch['restock'].get('price')) }} Minimum amount, only trigger a change when the price is less than this amount.
- {{ render_field(form.price_change_max, placeholder=watch['restock']['price']) }} + {{ render_field(form.price_change_max, placeholder=watch['restock'].get('price')) }} Maximum amount, only trigger a change when the price is more than this amount.
@@ -60,4 +60,5 @@ class processor_settings_form(processor_text_json_diff_form): For example, If the product is $1,000 USD originally, 2% would mean it has to change more than $20 since the first check.
- """ \ No newline at end of file + + """ \ No newline at end of file