diff --git a/evic/cli.py b/evic/cli.py index 607e97d..47ab611 100644 --- a/evic/cli.py +++ b/evic/cli.py @@ -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): diff --git a/evic/device.py b/evic/device.py index a5764b7..5ffc752 100644 --- a/evic/device.py +++ b/evic/device.py @@ -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