summaryrefslogtreecommitdiffstats
path: root/templates/{{cookiecutter.services_dir}}/{{cookiecutter.service_slug}}.py
diff options
context:
space:
mode:
authorEdi Feschiyan <edi.feschiyan@konsulko.com>2020-07-13 14:32:12 +0300
committerEdi Feschiyan <edi.feschiyan@konsulko.com>2020-07-13 14:32:54 +0300
commitd358a2bc1f9c750e8c16b0ad70b4dff35b92a9be (patch)
treee273e8dc46f005cb727391dbb85aa28e4ceabb3a /templates/{{cookiecutter.services_dir}}/{{cookiecutter.service_slug}}.py
parentd58969b579998667179d58f908257e2c02e465ba (diff)
WIP: Adding taskmanager and homescreen service and tests
PEP8 cleanups, newlines replacing AFBResponse with service.afbresponse() Adding BT-PBAP CLI callables Adding bluetooth subscription tests
Diffstat (limited to 'templates/{{cookiecutter.services_dir}}/{{cookiecutter.service_slug}}.py')
-rw-r--r--templates/{{cookiecutter.services_dir}}/{{cookiecutter.service_slug}}.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/{{cookiecutter.services_dir}}/{{cookiecutter.service_slug}}.py b/templates/{{cookiecutter.services_dir}}/{{cookiecutter.service_slug}}.py
index dab3a68..0d79e53 100644
--- a/templates/{{cookiecutter.services_dir}}/{{cookiecutter.service_slug}}.py
+++ b/templates/{{cookiecutter.services_dir}}/{{cookiecutter.service_slug}}.py
@@ -13,5 +13,5 @@ class {{cookiecutter.classname}}(AGLBaseService):
async def main(loop):
args = {{cookiecutter.classname}}.parser.parse_args()
- svc = {{cookiecutter.classname}}(args.ipaddr)
+ svc = await {{cookiecutter.classname}}(args.ipaddr)