imrahil / OctoPrint-NavbarTemp

Plugin for OctoPrint - displays temperatures on navbar
GNU Affero General Public License v3.0
44 stars 50 forks source link

Python 3.3 and higher no longer adds a version to sys.platform #77

Closed ManuelMcLure closed 4 years ago

ManuelMcLure commented 4 years ago

On Python 3.3 or higher, sys.platform no longer includes a version number. This causes the code that checks whether we can read the SoC temperature to fail. This PR fixes that issue.