From 1b78765568f230a696b6f0bbb0c6287676fa3b6c Mon Sep 17 00:00:00 2001 From: donovan6000 Date: Sat, 1 Aug 2015 19:20:47 -0700 Subject: [PATCH] Testing OctoPrint's native update manager --- octoprint_m3dfio/__init__.py | 6 +++--- setup.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/octoprint_m3dfio/__init__.py b/octoprint_m3dfio/__init__.py index 37cfbd7..9bf11c9 100644 --- a/octoprint_m3dfio/__init__.py +++ b/octoprint_m3dfio/__init__.py @@ -155,19 +155,19 @@ def get_assets(self) : ) # Get update information - def getUpdateInformation(self) : + def getUpdateInformation(self, *args, **kwargs) : # Return update information return dict( updateplugindemo = dict( - displayName = "M3D Fio", + displayName = self._plugin_name, displayVersion = self._plugin_version, type = "github_release", current = self._plugin_version, user = "donovan6000", repo = "M3D-Fio", - pip = "https://github.com/donovan6000/M3D-Fio/archive/{target_version}.zip" + pip = "https://github.com/donovan6000/M3D-Fio/archive/{target}.zip" ) ) diff --git a/setup.py b/setup.py index 5d2e7e6..4370ac0 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ plugin_identifier = "m3dfio" plugin_package = "octoprint_%s" % plugin_identifier plugin_name = "OctoPrint-M3DFio" -plugin_version = "0.7" +plugin_version = "0.8" plugin_description = "Allows communication with the Micro 3D printer and processes all uploaded/sliced G-code through a pre-processor" plugin_author = "donovan6000" plugin_author_email = "donovan6000@exploitkings.com"