Skip to content

Commit

Permalink
pass return value of start_background_task to the caller
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelgrinberg committed Jun 28, 2016
1 parent 0810f0b commit cd9e1a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion socketio/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ def start_background_task(self, target, *args, **kwargs):
the Python standard library. The `start()` method on this object is
already called by this function.
"""
self.eio.start_background_task(target, *args, **kwargs)
return self.eio.start_background_task(target, *args, **kwargs)

def sleep(self, seconds=0):
"""Sleep for the requested amount of time using the appropriate async
Expand Down

0 comments on commit cd9e1a7

Please sign in to comment.