We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2436be6 commit a9353bbCopy full SHA for a9353bb
whyattend/webapp.py
@@ -736,7 +736,7 @@ def create_battle():
736
battle_commander = Player.query.get(int(request.form['battle_commander']))
737
description = request.form.get('description', '')
738
duration = request.form.get('duration', 15 * 60)
739
- battle_group = request.form.get('battle_group', -2)
+ battle_group = int(request.form.get('battle_group', -2))
740
battle_group_title = request.form.get('battle_group_title', '')
741
battle_group_description = request.form.get('battle_group_description', '')
742
battle_group_final = request.form.get('battle_group_final', '') == 'on'
0 commit comments