Changeset - 34a737f6fb8d
[Not reviewed]
default
0 1 0
Dennis Fink - 3 years ago 2022-01-19 20:42:19
dennis.fink@c3l.lu
Doo price in the same if block
1 file changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
c3l_membership/views.py
Show inline comments
 
@@ -60,6 +60,8 @@ def index():
 
        ):
 

	
 
            price = current_app.config["SUPPORTING_FEE"]
 
        elif form.starving.data:
 
            price = 1
 
        else:
 
            price = current_app.config["REGULAR_FEE"]
 

	
 
@@ -69,7 +71,6 @@ def index():
 
            xml_data["voting"] = 1
 

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