imrahil / OctoPrint-NavbarTemp

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

Explicitly set __plugin_pythoncompat__ to indicate version(s) of Python supported #66

Closed BluDotz closed 4 years ago

BluDotz commented 4 years ago

OctoPrint 1.4.0 can run now under both Python 3 and (the deprecated) Python 2.

By default, pre-existing plugins are assumed to run ONLY under Python 2. So, to have them recognised as being able to run under Python 3, the __plugin_pythoncompat__ variable must be set explicitly, eg -

__plugin_pythoncompat__ = ">=2.7,<4"

Cosik commented 4 years ago

@BluDotz did you check it and it's working correctly?