Skip to content

Commit

Permalink
fixed type in version controller
Browse files Browse the repository at this point in the history
  • Loading branch information
fatihsucu committed Apr 17, 2015
1 parent e53e170 commit c0b366d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion celery/backends/mongodb.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def __init__(self, app=None, url=None, **kwargs):


# default options according to pymongo version
if pymongo.version_tuple >= 3:
if pymongo.version_tuple >= (3,):
self.options.setdefault('maxPoolSize', self.max_pool_size)
else:
self.options.setdefault('max_pool_size', self.max_pool_size)
Expand Down

0 comments on commit c0b366d

Please sign in to comment.