Tenrec-Builders / pi-scan

Pi Scan is a simple, robust capture appliance for book scanners. It runs on a Raspberry Pi 2.
BSD 2-Clause "Simplified" License
264 stars 37 forks source link

fix on_key_up signature to have correct number of params #14

Closed meelash closed 6 years ago

meelash commented 6 years ago

I was getting an error while running on macos when pressing any keys:

TypeError: +on_key_up() takes exactly 6 arguments (4 given)

I don't understand why the signature doesn't match https://kivy.org/docs/api-kivy.core.window.html?highlight=request_keyboard#kivy.core.window.WindowBase.request_keyboard, but this is the correct number of arguments to fix that error, and I think they are labeled correctly...