Changeset - 6a183a233652
[Not reviewed]
default
0 1 0
Dennis Fink - 3 years ago 2022-01-17 22:32:40
dennis.fink@c3l.lu
Set price and xml_data status in the same if block
1 file changed with 0 insertions and 2 deletions:
0 comments (0 inline, 0 general)
c3l_membership/views.py
Show inline comments
 
@@ -62,8 +62,6 @@ def index():
 

	
 
        if form.starving.data:
 
            price = 1
 

	
 
        if form.starving.data:
 
            xml_data["status"] = "Starving"
 
        elif form.minor_member.data or form.student.data:
 
            xml_data["status"] = "Student"
0 comments (0 inline, 0 general)