Skip to content

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

Open
coderobe wants to merge 1 commit into
ClockSelect:masterfrom
coderobe:patch-1
Open

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

Conversation

@coderobe

Copy link
Copy Markdown

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.

@fgerlingfgerling mentioned this pull request Jan 13, 2018
Sign up for freeto 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

@coderobe