Skip to content

Fix: use PIL's frombytes(), fromstring() has been deprecated#4

Open
coderobe wants to merge 1 commit intoClockSelect:masterfrom
coderobe:patch-1
Open

Fix: use PIL's frombytes(), fromstring() has been deprecated#4
coderobe wants to merge 1 commit intoClockSelect:masterfrom
coderobe:patch-1

Conversation

@coderobe
Copy link

@coderobe coderobe commented Jan 5, 2018

Currently, using the most up-to-date python & libs, PIL throws this when attempting to take a screenshot using evic-usb screenshot -o filename.png:
NotImplementedError: fromstring() has been removed. Please call frombytes() instead.

The proposed fix is to use frombytes() instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant