commit 88bd3ce045329590611b7985b75b850abd77768f
parent c10813dc442cd4105d433a64f0053f8dbc2a68d2
Author: Joris Vink <joris@coders.se>
Date: Wed, 4 Sep 2019 20:10:48 +0200
tiny comment on koreapp
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/examples/python-pgsql/app.py b/examples/python-pgsql/app.py
@@ -51,4 +51,5 @@ class KoreApp:
result = await kore.dbquery("db", "SELECT * FROM pg_sleep(10)")
req.response(200, json.dumps(result).encode("utf-8"))
+# Set the application Kore will run to our class.
koreapp = KoreApp()