Rename exceptions.py to avoid shadowing built-in module

This commit is contained in:
Kristóf Tóth 2018-05-03 14:39:25 +02:00
parent f56de6aef4
commit 89103f7c31
3 changed files with 2 additions and 2 deletions

View File

@ -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()

View File

@ -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: