From b538984ef32c20825a88a10e388039984abeaaa2 Mon Sep 17 00:00:00 2001
From: Adrien Michel <adriengit@users.noreply.github.com>
Date: Wed, 4 Aug 2021 22:58:30 +0200
Subject: gr-uhd: fix input filename in freq hopping examples

Signed-off-by: Adrien Michel <adriengit@users.noreply.github.com>
---
 gr-uhd/examples/python/freq_hopping.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'gr-uhd/examples/python')

diff --git a/gr-uhd/examples/python/freq_hopping.py b/gr-uhd/examples/python/freq_hopping.py
index 91af7e9d13..8fd65aade8 100755
--- a/gr-uhd/examples/python/freq_hopping.py
+++ b/gr-uhd/examples/python/freq_hopping.py
@@ -157,7 +157,7 @@ class FlowGraph(gr.top_block):
     def __init__(self, args):
         gr.top_block.__init__(self)
         if args.input_file is not None:
-            src = blocks.file_source(gr.sizeof_gr_complex, args.filename, repeat=True)
+            src = blocks.file_source(gr.sizeof_gr_complex, args.input_file, repeat=True)
         else:
             src = blocks.vector_source_c((.5,) * int(1e6) * 2, repeat=True)
         # Setup USRP
-- 
cgit v1.2.3