Skip to content

Commit

Permalink
py3's data type bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
nakagami committed Nov 6, 2011
1 parent 06c910e commit aa235cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firebirdsql/wireprotocol.py
Expand Up @@ -447,7 +447,7 @@ def _op_execute_immediate(self, trans_handle, db_handle, sql='', params=[],
r += bint_to_bytes(3, 2) # dialect
if len(params) == 0:
r += bint_to_bytes(0, 2) # in_blr len
values = ''
values = bytes([])
else:
(blr, values) = self.params_to_blr(params)
r += bint_to_bytes(len(blr), 2) + blr
Expand Down

0 comments on commit aa235cd

Please sign in to comment.