mirror of
https://github.com/avatao-content/test-tutorial-framework
synced 2024-11-14 16:07:18 +00:00
Rename exceptions.py to avoid shadowing built-in module
This commit is contained in:
parent
f56de6aef4
commit
89103f7c31
@ -4,7 +4,7 @@ from flask import Flask, render_template, request, session, url_for
|
||||
|
||||
from model import init_db
|
||||
from user_ops import UserOps
|
||||
from exceptions import InvalidCredentialsError, UserExistsError
|
||||
from errors import InvalidCredentialsError, UserExistsError
|
||||
|
||||
BASEURL = getenv('BASEURL', '')
|
||||
init_db()
|
||||
|
@ -1,6 +1,6 @@
|
||||
from crypto import PasswordHasher
|
||||
from model import Session, User
|
||||
from exceptions import InvalidCredentialsError, UserExistsError
|
||||
from errors import InvalidCredentialsError, UserExistsError
|
||||
|
||||
|
||||
class UserOps:
|
||||
|
Loading…
Reference in New Issue
Block a user