diff options
author | andy <andy@whiskeymedia.com> | 2012-08-23 21:29:35 -0700 |
---|---|---|
committer | andy <andy@whiskeymedia.com> | 2012-08-23 21:29:35 -0700 |
commit | db5e48200e724ed9d9ce7734d8041c22551f4ab2 (patch) | |
tree | b5529ee7afd38112ad2726e03a3225e34a114b14 /redis/client.py | |
parent | c9da5fa6cca93f1187ef860c3ec7cdfc9774ca49 (diff) | |
download | redis-py-db5e48200e724ed9d9ce7734d8041c22551f4ab2.tar.gz |
pass the script object, not the lua string
Diffstat (limited to 'redis/client.py')
-rw-r--r-- | redis/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redis/client.py b/redis/client.py index 152c75c..5c8cc19 100644 --- a/redis/client.py +++ b/redis/client.py @@ -1766,7 +1766,7 @@ class Script(object): # make sure the Redis server knows about the script if isinstance(client, BasePipeline): # make sure this script is good to go on pipeline - client.script_load_for_pipeline(self.script) + client.script_load_for_pipeline(self) try: return client.evalsha(self.sha, len(keys), *args) except NoScriptError: |