From 136005d09c01b6f8889f486eedefe7d3ab927b5a Mon Sep 17 00:00:00 2001 From: Alexander Braml Date: Wed, 17 Apr 2024 15:02:42 +0200 Subject: [PATCH] Quick fix for Emulator.py --- py_instrument_control_lib/playground/Emulator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py_instrument_control_lib/playground/Emulator.py b/py_instrument_control_lib/playground/Emulator.py index ffb4019..3eeb22f 100644 --- a/py_instrument_control_lib/playground/Emulator.py +++ b/py_instrument_control_lib/playground/Emulator.py @@ -21,7 +21,7 @@ def response_data() -> int: if __name__ == '__main__': - if len(sys.argv) != 2: + if len(sys.argv) != 3: print('Invalid number of arguments. Expected IP and port of host.') host = sys.argv[1] port = int(sys.argv[2])