From 4cf2c0b7c74ad74406a6836c5962c6a2a6a57b91 Mon Sep 17 00:00:00 2001 From: james-pcdr <107222062+james-pcdr@users.noreply.github.com> Date: Wed, 31 Jul 2024 13:33:28 -0400 Subject: [PATCH] Update scanner.py: fix print to stderr --- swagger/sdrangel/examples/scanner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swagger/sdrangel/examples/scanner.py b/swagger/sdrangel/examples/scanner.py index 4b8ef07a8f..4719bf89ab 100755 --- a/swagger/sdrangel/examples/scanner.py +++ b/swagger/sdrangel/examples/scanner.py @@ -373,7 +373,7 @@ def main(): pass except Exception as ex: tb = traceback.format_exc() - print >> sys.stderr, tb + print(tb, file=sys.stderr) if __name__ == "__main__":