getfriendlyname, setfriendlyname

This commit is contained in:
Ian Gulliver
2016-04-23 15:13:35 -07:00
parent 9bc712761d
commit f5ca408961
2 changed files with 7 additions and 3 deletions

View File

@@ -76,9 +76,6 @@ class CommandError(Error):
# usefeedbackrestemp
# setfeedbackres
# getfriendlyname
# setfriendlyname
# getintegrate
# startintegrate
# topintegrate
@@ -354,6 +351,12 @@ class ILT1000(object):
# hack, to find the end of the getinfo response.
raise UnsupportedCommand
def GetFriendlyName(self):
return self._SendCommand('getfriendlyname')
def SetFriendlyName(self, name):
self._SendCommandOrDie('setfriendlyname %s' % name)
class _Row(object):