kolinger / rd-usb

Web GUI for RuiDeng/Riden USB testers (UM34C, UM24C, UM25C, TC66C)
GNU General Public License v3.0
223 stars 29 forks source link

Python 3.5 compatibility #2

Closed GreyTeardrop closed 5 years ago

GreyTeardrop commented 5 years ago

This PR adds Python 3.5 compatibility to rd-usb.

The main motivation is to make it work on Raspberry Pi. Python 3.5 is the newest version available out of the box on stock Raspbian.

So far only token_hex function from secrets module prevents rd-usb from running on Python 3.5.

kolinger commented 5 years ago

You are right. Current implementation is overkill anyway. Updated to support Python 3.4. Thank you.

GreyTeardrop commented 5 years ago

Great, thanks!