Fix bug in Ozimux UDP output

pull/21/head
Mark Jessop 2020-07-26 16:41:57 +09:30
rodzic 7533a3bae8
commit 54d7fce4b3
3 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -1 +1 @@
__version__ = "0.1.18" __version__ = "0.1.19"

Wyświetl plik

@ -104,7 +104,7 @@ def send_ozimux_message(telemetry, port=55683):
_ozisock.sendto(_sentence.encode('ascii'),('127.0.0.1',port)) _ozisock.sendto(_sentence.encode('ascii'),('127.0.0.1',port))
_ozisock.close() _ozisock.close()
logging.debug(f"Sent Telemetry to OziMux ({port}): {sentence.strip()}") logging.debug(f"Sent Telemetry to OziMux ({port}): {_sentence.strip()}")
return _sentence return _sentence
except Exception as e: except Exception as e:
logging.error(f"Failed to send OziMux packet: {str(e)}") logging.error(f"Failed to send OziMux packet: {str(e)}")

Wyświetl plik

@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "horusdemodlib" name = "horusdemodlib"
version = "0.1.18" version = "0.1.19"
description = "Project Horus HAB Telemetry Demodulators" description = "Project Horus HAB Telemetry Demodulators"
authors = ["Mark Jessop"] authors = ["Mark Jessop"]
license = "LGPL-2.1-or-later" license = "LGPL-2.1-or-later"