Skip to content

Commit

Permalink
Fix bug from #38
Browse files Browse the repository at this point in the history
  • Loading branch information
ceari committed Nov 10, 2014
1 parent 2436be6 commit a9353bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion whyattend/webapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,7 @@ def create_battle():
battle_commander = Player.query.get(int(request.form['battle_commander']))
description = request.form.get('description', '')
duration = request.form.get('duration', 15 * 60)
battle_group = request.form.get('battle_group', -2)
battle_group = int(request.form.get('battle_group', -2))
battle_group_title = request.form.get('battle_group_title', '')
battle_group_description = request.form.get('battle_group_description', '')
battle_group_final = request.form.get('battle_group_final', '') == 'on'
Expand Down

1 comment on commit a9353bb

@uetam
Copy link

@uetam uetam commented on a9353bb Nov 11, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It works fine now.

Please sign in to comment.