Skip to content

Commit

Permalink
Merge pull request #179 from Luos-io/rc_2.2.10
Browse files Browse the repository at this point in the history
Rc 2.2.10
  • Loading branch information
JeromeGalan authored Dec 16, 2022
2 parents 6c06d42 + e1b52cb commit 9fe7bc6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pyluos/io/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ def is_ready(self):
def read(self, trials=5):
try:
data = self.recv()
return self.loads(data)
except Exception as e:
logging.getLogger(__name__).debug('Msg read failed: {}'.format(str(e)))
if trials == 0:
Expand Down Expand Up @@ -51,7 +52,7 @@ def dumps(self, msg):
def io_from_host(host, *args, **kwargs):
for cls in IOs:
if cls.is_host_compatible(host):
return cls(host=host, *args, **kwargs)
return cls(host=host)

raise ValueError('No corresponding IO found (among {}).'.format(discover_hosts))

Expand Down
2 changes: 1 addition & 1 deletion pyluos/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = '2.2.9'
version = '2.2.10'

0 comments on commit 9fe7bc6

Please sign in to comment.