aboutsummaryrefslogtreecommitdiffstats
path: root/serialrx.py
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2020-04-28 22:08:22 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2020-04-28 22:08:22 +0200
commite831fe2f99bc6ad8f030b86ffc566072b695904f (patch)
tree123ae61bfe92bd88d7b61aad5b30fe959429180a /serialrx.py
parent5008d0e9398edf4311d826d41e28e96cdb992cee (diff)
downloadglutte-serial-web-e831fe2f99bc6ad8f030b86ffc566072b695904f.tar.gz
glutte-serial-web-e831fe2f99bc6ad8f030b86ffc566072b695904f.tar.bz2
glutte-serial-web-e831fe2f99bc6ad8f030b86ffc566072b695904f.zip
Don't use f-strings
Diffstat (limited to 'serialrx.py')
-rw-r--r--serialrx.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/serialrx.py b/serialrx.py
index 4c3eac5..f5bce5f 100644
--- a/serialrx.py
+++ b/serialrx.py
@@ -176,14 +176,14 @@ if __name__ == "__main__":
print("Testing parser")
for message in test_set.split("\n"):
- print(f"Parse {message}")
+ print("Parse {}".format(message))
mp.parse_message(message)
test_measured = mp.get_last_data()
for k in test_measured:
if test_measured[k][1] == 0:
- print(f"Value {k} has time 0")
+ print("Value {} has time 0".format(k))
values = {k: test_measured[k][0] for k in test_measured}
if values != test_should: