Skip to content

Commit ed8de4d

Browse files
committed
Typo Fix
1 parent 3975101 commit ed8de4d

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

wagtail_advanced_form_builder/models/abstract_advanced_form_mixin.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,16 @@ def conditions_passed(condition_rule, condition_value, condition_field_value):
105105
return False
106106

107107
if condition_rule == consts.FIELD_RULE_STARTS_WITH:
108-
if not condition_field_value.startsWith(condition_value):
108+
print('')
109+
print('-- condition_field_value --')
110+
print(condition_field_value)
111+
print('--')
112+
print('')
113+
if not condition_field_value.startswith(condition_value):
109114
return False
110115

111116
if condition_rule == consts.FIELD_RULE_ENDS_WITH:
112-
if not condition_field_value.endsWith(condition_value):
117+
if not condition_field_value.endswith(condition_value):
113118
return False
114119

115120
return True

0 commit comments

Comments
 (0)