diff options
Diffstat (limited to 'h-client')
-rw-r--r-- | h-client/hlibrary.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/h-client/hlibrary.py b/h-client/hlibrary.py index 83ca3a9..6c3803c 100644 --- a/h-client/hlibrary.py +++ b/h-client/hlibrary.py @@ -312,6 +312,18 @@ class Printer(Device): super(Printer, self).setPost() self._post['compatibility'] = self._howItWorks self._post['subtype'] = self._subtype + +class Unknown(Device): + + def __init__(self): + super(Unknown, self).__init__() + self._type = 'unknown' + self._howItWorks = 'no' + self._interfaces = ['not-specified'] + self._icon = 'unknown.png' + + def setPost(self): + super(Unknown, self).setPost() #class to carry out http requests by means of pycurl class Mycurl: |