From 3cf6adbf9d25279d42dbbe8f6bebf99385975ae6 Mon Sep 17 00:00:00 2001 From: jneilliii Date: Tue, 28 Apr 2020 16:14:12 -0400 Subject: [PATCH] Pythone 3 Compatibility 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. --- octoprint_prettygcode/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/octoprint_prettygcode/__init__.py b/octoprint_prettygcode/__init__.py index fa43ce0..fb6e179 100644 --- a/octoprint_prettygcode/__init__.py +++ b/octoprint_prettygcode/__init__.py @@ -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()