~fluix/tilde

a60b506cf8c0ad7c36e9a8464decd139e66546e8 — Steven Guikal 2 months ago 9b58539
Remove unused exception variable assignment
1 files changed, 1 insertions(+), 1 deletions(-)

M tilde/blueprints/auth/views.py
M tilde/blueprints/auth/views.py => tilde/blueprints/auth/views.py +1 -1
@@ 85,7 85,7 @@ def register():
        db.session.add(user)
        try:
            db.session.commit()
        except IntegrityError as e:
        except IntegrityError:
            db.session.rollback()
            form.username.errors.append("Username taken.")
            return render_template("register.html", form=form)