Skip to content

Commit

Permalink
Merge pull request #31 from tedivm/master
Browse files Browse the repository at this point in the history
more fun with reggae
  • Loading branch information
tedivm authored Oct 10, 2016
2 parents ea9a7ba + 220652b commit 0250d24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion screeps_loan/routes/my_alliance.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def update_my_alliance_profile():
fullname = re.sub(r'([^\s\w]|_)+', '', request.form['fullname'])
shortname = re.sub(r'([^\s\w]|_)+', '', request.form['shortname'])
slack_channel = re.sub(r'([^\s\w]|_)+', '', request.form['slack_channel'])
color = re.sub(r'^(#[0-9a-f]{6}|[0-9a-f]{3})', '', request.form['color'])
color = re.sub(r'([^\s\w]|_)+', '', request.form['color'])
my_id = session['my_id']
alliance = users_model.alliance_of_user(my_id)
alliances_model.update_all_alliances_info(alliance['shortname'], shortname, fullname, slack_channel, color)
Expand Down

0 comments on commit 0250d24

Please sign in to comment.