Skip to content

Commit 551e21b

Browse files
authored
Merge pull request #168 from jsimonrichard/patch-1
Fix missing variable
2 parents 6bc3a69 + 8ed59f3 commit 551e21b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pantograph/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def get_event_loop():
99
return asyncio.get_event_loop()
1010
except RuntimeError:
1111
asyncio.set_event_loop(DEFAULT_EVENT_LOOP)
12-
return loop
12+
return DEFAULT_EVENT_LOOP
1313

1414
def to_sync(func):
1515
loop = get_event_loop()

0 commit comments

Comments
 (0)