fix issue with seadesc
frappy run main seadesc did no longer work. fix this
This commit is contained in:
parent
ff2fcf7651
commit
82c1081b69
@ -182,10 +182,10 @@ class SeaClient(ProxyClient, Module):
|
|||||||
assert self.syncio.readline() == b'OK'
|
assert self.syncio.readline() == b'OK'
|
||||||
self.syncio.writeline(b'seauser seaser')
|
self.syncio.writeline(b'seauser seaser')
|
||||||
assert self.syncio.readline() == b'Login OK'
|
assert self.syncio.readline() == b'Login OK'
|
||||||
|
if self.service and self.config:
|
||||||
result = self.raw_request('frappy_config %s %s' % (self.service, self.config))
|
result = self.raw_request('frappy_config %s %s' % (self.service, self.config))
|
||||||
if result.startswith('ERROR:'):
|
if result.startswith('ERROR:'):
|
||||||
raise CommunicationFailedError(f'reply from frappy_config: {result}')
|
raise CommunicationFailedError(f'reply from frappy_config: {result}')
|
||||||
# frappy_async_client switches to the json protocol (better for updates)
|
# frappy_async_client switches to the json protocol (better for updates)
|
||||||
self.asynio.writeline(b'frappy_async_client')
|
self.asynio.writeline(b'frappy_async_client')
|
||||||
self.asynio.writeline(('get_all_param ' + ' '.join(self.objects)).encode())
|
self.asynio.writeline(('get_all_param ' + ' '.join(self.objects)).encode())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user