projects
/
SaveMySugar
/
python3-savemysugar.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CallDistanceTransceiver.py: fix an error message
[SaveMySugar/python3-savemysugar.git]
/
src
/
measure_ring_distance.py
diff --git
a/src/measure_ring_distance.py
b/src/measure_ring_distance.py
index
87f6da3
..
c5c34fd
100755
(executable)
--- a/
src/measure_ring_distance.py
+++ b/
src/measure_ring_distance.py
@@
-59,7
+59,7
@@
def measure_ring_distance(ingoing_port, outgoing_port, destination_number):
ingoing_modem.register_callback("RING", on_ring)
outgoing_modem = Modem(outgoing_port)
ingoing_modem.register_callback("RING", on_ring)
outgoing_modem = Modem(outgoing_port)
- outgoing_modem.send_command("ATDT" + destination_number)
+ outgoing_modem.send_command("ATDT" + destination_number
+ ";"
)
try:
ingoing_modem.get_response_loop()
try:
ingoing_modem.get_response_loop()