Import database relatively

This commit is contained in:
Scoder12
2020-07-27 17:21:50 -07:00
parent d9dfb5a561
commit d535da8977
+1 -3
View File
@@ -8,10 +8,8 @@ from . import html
from .app import App
from .html import Page, Paragraph
from .utils import sign_in_snippet, signin
from ..database import db
# TODO: import new db package package name
db = ReplitDb(os.environ["REPLIT_DB_URL"])
auth = LocalProxy(lambda: flask.request.auth)
signed_in = LocalProxy(lambda: flask.request.signed_in)