Skip to content

Commit

Permalink
BUGFIX: In select(), we need to stringify the sql parameters to be ab…
Browse files Browse the repository at this point in the history
…le to join() them.
  • Loading branch information
bsanders committed Jul 11, 2018
1 parent c53de1c commit 51b224c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/src/stack/command/stack/commands/__init__.py
Expand Up @@ -1257,7 +1257,7 @@ def select(self, command, args=None):
m = hashlib.md5()
m.update(command.strip().encode('utf-8'))
if args:
m.update(' '.join(arg for arg in args).encode('utf-8'))
m.update(' '.join(str(arg) for arg in args).encode('utf-8'))
k = m.hexdigest()

# print 'select', k, command
Expand Down

0 comments on commit 51b224c

Please sign in to comment.