Skip to content

Commit 492c3a0

Browse files
author
Diego Ardila
committed
more python 3.6 stuff
1 parent 18046b5 commit 492c3a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nucleus/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ def get_files(batch):
476476
responses = loop.run_until_complete(future)
477477
else:
478478
nest_asyncio.apply(loop)
479-
return asyncio.run(loop.create_task(future))
479+
return loop.run_until_complete(future)
480480

481481
def close_files(request_items):
482482
for item in request_items:

0 commit comments

Comments
 (0)