Commits

hoop committed 704fdeb

Fix redirect when not in root directory

  • Participants
  • Parent commits 7948543

Comments (0)

Files changed (1)

handlers/colors.py

             self.db.votes.save(dict(candidate=candidate['_id'], tags={'r':candidate['tags']['r'],
                 'g':candidate['tags']['g'], 'b':candidate['tags']['b']}, voter=voter_id))
 
-        self.redirect('/')
+        self.redirect('')