1
0
mirror of https://github.com/avatao-content/test-tutorial-framework synced 2024-12-05 01:41:32 +00:00

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: