Skip to content

Commit

Permalink
Fix calling snapshot on py2
Browse files Browse the repository at this point in the history
  • Loading branch information
kk7ds committed Feb 23, 2016
1 parent c14daaf commit 70ac477
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uvcclient/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,6 @@ def main():
if hasattr(sys.stdout, 'buffer'):
sys.stdout.buffer.write(do_snapshot(client, camera))
else:
sys.stdout.write(do_snapshot(camera))
sys.stdout.write(do_snapshot(client, camera))
elif opts.set_password:
do_set_password(opts)

0 comments on commit 70ac477

Please sign in to comment.