Spaces:
Runtime error
Runtime error
freemt
commited on
Commit
Β·
ff9ac06
1
Parent(s):
d6e3ed2
Bump to 0.1.1
Browse files- convbot/force_async.py +1 -0
- tests/__init__.py +1 -1
convbot/force_async.py
CHANGED
|
@@ -3,6 +3,7 @@ from concurrent.futures import ThreadPoolExecutor
|
|
| 3 |
import asyncio
|
| 4 |
import functools
|
| 5 |
|
|
|
|
| 6 |
def force_async(func):
|
| 7 |
"""Turn a sync func to async.
|
| 8 |
|
|
|
|
| 3 |
import asyncio
|
| 4 |
import functools
|
| 5 |
|
| 6 |
+
|
| 7 |
def force_async(func):
|
| 8 |
"""Turn a sync func to async.
|
| 9 |
|
tests/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
"""Init."""
|
|
|
|
| 1 |
+
"""Init."""
|