@@ -6,7 +6,7 @@ from urllib.parse import urlparse
from flask import g
class DataBase():
def __init__(self, app):
def __init__(self, app=None):
db_url = urlparse(os.environ['DATABASE_URL'])
# if db_url is null then throw error
if not db_url:
The note is not visible to the blocked user.