update_device soll als thread laufen
This commit is contained in:
parent
b025d35fd8
commit
fdd7afd35b
3 changed files with 38 additions and 33 deletions
|
|
@ -29,10 +29,10 @@ class Buffer(object):
|
|||
|
||||
system = {
|
||||
'00_config' : conf,
|
||||
'0_request' : [],
|
||||
'0_done' : [],
|
||||
'device' : {},
|
||||
'error' : error,
|
||||
'request' : [],
|
||||
'done' : []
|
||||
'error' : error
|
||||
}
|
||||
|
||||
_instance = None
|
||||
|
|
@ -147,6 +147,7 @@ class Buffer(object):
|
|||
stderr.write('error wrong path: %s' % key)
|
||||
return
|
||||
sys.update(value)
|
||||
return key
|
||||
|
||||
def init_buffer(self):
|
||||
self.system['reqest'].append('init')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue