Skip to content

Commit

Permalink
Pythone 3 Compatibility
Browse files Browse the repository at this point in the history
There were no issues with my testing in Python 3, you just need to add the flag, and then make sure that when you register with the plugin repository that you do the same.
  • Loading branch information
jneilliii authored Apr 28, 2020
1 parent 4fbc376 commit 3cf6adb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions octoprint_prettygcode/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def get_update_information(self):
# ("OctoPrint-PluginSkeleton"), you may define that here. Same goes for the other metadata derived from setup.py that
# can be overwritten via __plugin_xyz__ control properties. See the documentation for that.
__plugin_name__ = "PrettyGCode"
__plugin_pythoncompat__ = ">=2.7,<4"
def __plugin_load__():
global __plugin_implementation__
__plugin_implementation__ = PrettyGCodePlugin()
Expand Down

0 comments on commit 3cf6adb

Please sign in to comment.