diff options
Diffstat (limited to 'h-client/hlibrary.py')
-rw-r--r-- | h-client/hlibrary.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/h-client/hlibrary.py b/h-client/hlibrary.py index 6c3803c..b78f452 100644 --- a/h-client/hlibrary.py +++ b/h-client/hlibrary.py @@ -421,6 +421,10 @@ class Client: '0701ff' : { 'type' : 'printer', 'controller': 'printers' + }, + '255255255' : { + 'type' : 'unknown', + 'controller': 'unknown' } } @@ -484,6 +488,8 @@ class Client: return Videocard() elif Class == '070100' or Class == '070101' or Class == '070102' or Class == '070103' or Class == '0701ff': return Printer() + elif Class == '255255255': + return Unknown() else: return None @@ -574,6 +580,8 @@ class Client: def addLeadingZero(self,string): if len(string) == 1: return '0'+string + else: + return string def createDevices(self): |