diff options
| author | bozo.kopic <bozo@kopic.xyz> | 2022-08-29 14:07:55 +0200 |
|---|---|---|
| committer | bozo.kopic <bozo@kopic.xyz> | 2022-08-29 14:07:55 +0200 |
| commit | 6a76aa69d86be9515418424305687d0fec6eaed6 (patch) | |
| tree | 5535b8dccfe0eb28e27206e35b7da60a8a072a46 | |
| parent | ff005752d83988b1a6b317dead17cfa7abf95124 (diff) | |
requirements update
| -rw-r--r-- | requirements.pip.runtime.txt | 2 | ||||
| -rw-r--r-- | src_py/opcut/main.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/requirements.pip.runtime.txt b/requirements.pip.runtime.txt index db3c695..61c3790 100644 --- a/requirements.pip.runtime.txt +++ b/requirements.pip.runtime.txt @@ -1,4 +1,4 @@ aiohttp ~= 3.8.1 -hat-aio ~= 0.6.1 +hat-aio ~= 0.7.0 hat-json ~= 0.5.6 pycairo ~= 1.21.0 diff --git a/src_py/opcut/main.py b/src_py/opcut/main.py index 58b3060..28bb49e 100644 --- a/src_py/opcut/main.py +++ b/src_py/opcut/main.py @@ -191,9 +191,9 @@ def server(host: str, finally: await aio.uncancellable(server.async_close()) - loop = aio.init_asyncio() + aio.init_asyncio() with contextlib.suppress(asyncio.CancelledError): - aio.run_asyncio(run(), loop=loop) + aio.run_asyncio(run()) if __name__ == '__main__': |
