Skip to content

Commit 18046b5

Browse files
author
Diego Ardila
committed
Make python 3.6 friendly
1 parent d021272 commit 18046b5

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
@@ -470,7 +470,7 @@ def get_files(batch):
470470
)
471471

472472
try:
473-
loop = asyncio.get_running_loop()
473+
loop = asyncio.get_event_loop()
474474
except RuntimeError: # no event loop running:
475475
loop = asyncio.new_event_loop()
476476
responses = loop.run_until_complete(future)

0 commit comments

Comments
 (0)