Skip to content

Commit af9bf9e

Browse files
committed
fix removal error
1 parent eb51edb commit af9bf9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DuetRRFPlugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def instanceHTTPPassword(self, name):
9898
def saveInstance(self, oldName, name, url, duet_password, http_user, http_password):
9999
manager = self.getOutputDeviceManager()
100100
if oldName and oldName != name:
101-
self.removeInstance(name)
101+
self.removeInstance(oldName)
102102
if not url.endswith('/'):
103103
url += '/'
104104
self._instances[name] = {

0 commit comments

Comments
 (0)