Skip to content
Open
Show file tree
Hide file tree
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
3 changes: 2 additions & 1 deletion evic/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ class HIDTransfer(object):
'W014': DeviceInfo("Reuleaux RX200", None, None),
'W016': DeviceInfo("CENTURION", None, None),
'W018': DeviceInfo("Reuleaux RX2/3", None, (64, 48)),
'W033': DeviceInfo("Reuleaux RX200S", None, None)
'W033': DeviceInfo("Reuleaux RX200S", None, None),
'W078': DeviceInfo("Wismec Predator", None, (64, 48))
}

# 0x43444948
Expand Down