Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion evic/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ def screenshot(output):
data = dev.read_screen()

# create the image from screen data
im = Image.fromstring("1",(64,128),bytes(data))
im = Image.frombytes("1",(64,128),bytes(data))

# Write the image to the file
with handle_exceptions(IOError):
Expand Down