From 70ac4772d7b050dac28ddf1e72481f304ba4b5db Mon Sep 17 00:00:00 2001 From: Dan Smith Date: Tue, 23 Feb 2016 10:28:20 -0800 Subject: [PATCH] Fix calling snapshot on py2 --- uvcclient/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uvcclient/main.py b/uvcclient/main.py index ee6aa67..ea88556 100644 --- a/uvcclient/main.py +++ b/uvcclient/main.py @@ -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)