added default value for current to None
This commit is contained in:
parent
e4a141d7e7
commit
823b7be3f8
1 changed files with 8 additions and 4 deletions
|
|
@ -132,7 +132,8 @@ class SoftwareUpdatePlugin(octoprint.plugin.BlueprintPlugin,
|
|||
"user": "mrbeam",
|
||||
"branch": "grblautoupdate",
|
||||
"update_script": "{{python}} \"{update_script}\" --python=\"{{python}}\" \"{{folder}}\" {{target}}".format(update_script=os.path.join(self._basefolder, "scripts", "update-octoprint.py")),
|
||||
"restart": "octoprint"
|
||||
"restart": "octoprint",
|
||||
"current": None
|
||||
},
|
||||
"svgtogcode": {
|
||||
"checkout_folder": "/home/pi/mrbeam-inkscape-ext",
|
||||
|
|
@ -140,7 +141,8 @@ class SoftwareUpdatePlugin(octoprint.plugin.BlueprintPlugin,
|
|||
"repo": "mrbeam-inkscape-ext",
|
||||
"user": "mrbeam",
|
||||
"branch": "stable-1.2.2",
|
||||
"update_script": "{{python}} \"{update_script}\" \"{{folder}}\" {{target}}".format(update_script=os.path.join(self._basefolder, "scripts", "git-pull.py"))
|
||||
"update_script": "{{python}} \"{update_script}\" \"{{folder}}\" {{target}}".format(update_script=os.path.join(self._basefolder, "scripts", "git-pull.py")),
|
||||
"current": None
|
||||
},
|
||||
"lcd": {
|
||||
"checkout_folder": "/home/pi/lcd",
|
||||
|
|
@ -149,7 +151,8 @@ class SoftwareUpdatePlugin(octoprint.plugin.BlueprintPlugin,
|
|||
"user": "mrbeam",
|
||||
"branch": "stable-1.2.2",
|
||||
"update_script": "{{python}} \"{update_script}\" \"{{folder}}\" {{target}}".format(update_script=os.path.join(self._basefolder, "scripts", "git-pull.py")),
|
||||
"restart": "environment"
|
||||
"restart": "environment",
|
||||
"current": None
|
||||
},
|
||||
"netconnectd": {
|
||||
"checkout_folder": "/home/pi/netconnectd",
|
||||
|
|
@ -158,7 +161,8 @@ class SoftwareUpdatePlugin(octoprint.plugin.BlueprintPlugin,
|
|||
"user": "mrbeam",
|
||||
"branch": "stable-1.2.2",
|
||||
"update_script": "{{python}} \"{update_script}\" \"{{folder}}\" {{target}}".format(update_script=os.path.join(self._basefolder, "scripts", "git-pull.py")),
|
||||
"restart": "environment"
|
||||
"restart": "environment",
|
||||
"current": None
|
||||
},
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue