Skip to content

Commit

Permalink
Reconect after taking a screenshot
Browse files Browse the repository at this point in the history
  • Loading branch information
mowshon committed Dec 11, 2019
1 parent e52c1cc commit 57878b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/screenshot.py
Expand Up @@ -17,4 +17,4 @@

filename = sys.argv.pop(1)
device, serialno = ViewClient.connectToDeviceOrExit(verbose=False)
device.takeSnapshot().save(filename, 'PNG')
device.takeSnapshot(reconnect=True).save(filename, 'PNG')

0 comments on commit 57878b0

Please sign in to comment.