Skip to content

Commit

Permalink
Make gevent thread arguments optional
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelgrinberg committed Aug 20, 2015
1 parent 66abdcb commit 3c4f10f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engineio/async_gevent.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Thread(gevent.Greenlet): # pragma: no cover
This wrapper class provides gevent Greenlet interface that is compatible
with the standard library's Thread class.
"""
def __init__(self, target, args, kwargs):
def __init__(self, target, args=[], kwargs={}):
super(Thread, self).__init__(target, *args, **kwargs)

def _run(self):
Expand Down

0 comments on commit 3c4f10f

Please sign in to comment.