Skip to content

Commit

Permalink
Bump version to 1.7.3
Browse files Browse the repository at this point in the history
  • Loading branch information
thess committed Mar 6, 2024
1 parent 4e5393b commit cb14875
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion callattendant/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# and screened callers through to the home phone.
#
default_config = {
"VERSION": '1.7.2',
"VERSION": '1.7.3',

"DEBUG": False,
"TESTING": False,
Expand Down
4 changes: 3 additions & 1 deletion callattendant/hardware/modem.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,9 @@ def play_audio(self, audio_file_name):
if self._serial.in_waiting > 1:
modem_data = self._serial.read(self._serial.in_waiting).decode("utf-8", "ignore").strip()
if debugging:
print(">> play_audio input: {}".format(modem_data))
print(">> play_audio input: {}".format(
"".join(map(lambda x: '<DLE>' if x == DLE_CODE else
'<ETX>' if x == ETX_CODE else x, modem_data))))
if modem_data != '':
if modem_data[0] == DLE_CODE:
if (modem_data[1] == DCE_PHONE_OFF_HOOK) or \
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

setuptools.setup(
name="callattendant", # Add username when uploading to TestPyPI
version="1.7.2", # Ensure this is in-sync with VERSION in config.py
version="1.7.3", # Ensure this is in-sync with VERSION in config.py
author="Ted Hess",
author_email="[email protected]",
description="An automated call attendant and call blocker using a USR5637 or CX930xx modem",
Expand Down

0 comments on commit cb14875

Please sign in to comment.