Skip to content
This repository has been archived by the owner on Oct 14, 2022. It is now read-only.

Commit

Permalink
shutter: fix passthrough
Browse files Browse the repository at this point in the history
  • Loading branch information
jordens committed Aug 2, 2018
1 parent 22e3355 commit ea7218b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ptb/shutter_protocol.py
Expand Up @@ -52,4 +52,4 @@ async def passthrough(self, shutter, cmd):
Return:
bytes: Response
"""
return await self.ask(bytes(["{:d}".format(shutter).encode(), cmd]))
return await self.ask(bytes(["{:d}".format(shutter).encode()[0], cmd]))

0 comments on commit ea7218b

Please sign in to comment.