pageauc / speed-camera

A Unix, Windows, Raspberry Pi Object Speed Camera using python, opencv, video streaming, motion tracking. Includes a Standalone Web Server Interface, Image Search using opencv template match and a whiptail Admin Menu Interface Includes picam and webcam Plugins for motion track security camera configuration including rclone sync script. watch-app allows remotely controller camera configuration from a remote storage service name. Uses sqlite3 and gnuplot for reporting. Recently added openalpr license plate reader support.
Apache License 2.0
987 stars 173 forks source link

Fix typoed variable name #110

Closed dericke closed 2 years ago

dericke commented 2 years ago

I found a typo in a pair of functions. Rather than just correct the spelling, I found it easiest to just avoid storing the variable in the first place and return immediately instead.

Prior to this PR, is_int() always returns True, no matter the input. With this PR, it should work as intended.