milo config backups

This commit is contained in:
kepler155c@gmail.com
2019-03-12 09:58:02 -04:00
parent b43761faf1
commit 7ac10948df
4 changed files with 116 additions and 6 deletions

View File

@@ -50,7 +50,7 @@ function wizardPage:validate()
end
function wizardPage:isValidType(node)
return peripheral.getType(node.name) == 'speaker' and {
return node.adapter and node.adapter.type == 'speaker' and {
name = 'Speaker',
value = 'speaker',
category = 'custom',