diff options
author | Alex DeBrie <alexdebrie1@gmail.com> | 2016-07-10 02:28:52 +0000 |
---|---|---|
committer | Alex DeBrie <alexdebrie1@gmail.com> | 2016-07-10 02:28:52 +0000 |
commit | ab550a4c82b1a5007d2a698c2e91e78e165378de (patch) | |
tree | 7173063eb67f761038ba491d0a720f1044a0d0e2 /redis/client.py | |
parent | f71a32466efa5814566bf779805e2d19c9cc9605 (diff) | |
download | redis-py-ab550a4c82b1a5007d2a698c2e91e78e165378de.tar.gz |
Fix transposition of GEORADIUS arguments
Diffstat (limited to 'redis/client.py')
-rwxr-xr-x | redis/client.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/redis/client.py b/redis/client.py index 765eb87..bfcb0f8 100755 --- a/redis/client.py +++ b/redis/client.py @@ -2106,7 +2106,7 @@ class StrictRedis(object): """ return self.execute_command('GEOPOS', name, *values) - def georadius(self, name, latitude, longitude, radius, unit=None, + def georadius(self, name, longitude, latitude, radius, unit=None, withdist=False, withcoord=False, withhash=False, count=None, sort=None, store=None, store_dist=None): """ @@ -2138,7 +2138,7 @@ class StrictRedis(object): destination score is set with the distance. """ return self._georadiusgeneric('GEORADIUS', - name, latitude, longitude, radius, + name, longitude, latitude, radius, unit=unit, withdist=withdist, withcoord=withcoord, withhash=withhash, count=count, sort=sort, store=store, |