Fix incorrect import statements in examples

This commit is contained in:
Scoder12
2020-07-28 11:17:42 -07:00
parent 872406cafc
commit b33032dd83
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
from simple import db
from replit import db
def demo():
+5 -5
View File
@@ -1,15 +1,15 @@
"""A basic example of repl auth."""
import simple
from replit import maqpy
app = simple.App("app")
app = maqpy.App("app")
@app.route("/")
def index():
if simple.signed_in:
return "Hello " + simple.auth.name
if maqpy.signed_in:
return "Hello " + maqpy.auth.name
else:
return simple.signin() # optionally: simple.sigin(title="My title")
return maqpy.signin() # optionally: simple.sigin(title="My title")
if __name__ == "__main__":