Skip to content
Browse files

pass the script object, not the lua string

  • Loading branch information...
1 parent c9da5fa commit db5e48200e724ed9d9ce7734d8041c22551f4ab2 andy committed Aug 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 redis/
2 redis/
@@ -1766,7 +1766,7 @@ def __call__(self, keys=[], args=[], client=None):
# 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)
return client.evalsha(self.sha, len(keys), *args)
except NoScriptError:

0 comments on commit db5e482

Please sign in to comment.
Something went wrong with that request. Please try again.