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__":