summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/examples
diff options
context:
space:
mode:
authorJohnathan Corgan <johnathan@corganlabs.com>2016-09-17 08:31:53 -0700
committerJohnathan Corgan <johnathan@corganlabs.com>2016-09-17 08:31:53 -0700
commitba36190ee5d733a3962cb1a6d146e64465b6cebc (patch)
treec7156d1fe39baa304237d85e4e40a3bf274481b0 /gnuradio-runtime/examples
parent4135d9c0056e3c8d3e97d28a27e60d1d88ded334 (diff)
parent00aec59017d99db6ca5216e4ca2bb44786c0ed91 (diff)
Merge remote-tracking branch 'pinkavaj/nargs-00' into next
Diffstat (limited to 'gnuradio-runtime/examples')
-rwxr-xr-xgnuradio-runtime/examples/mp-sched/plot_flops.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnuradio-runtime/examples/mp-sched/plot_flops.py b/gnuradio-runtime/examples/mp-sched/plot_flops.py
index c80820b8a3..9bd2ff12bb 100755
--- a/gnuradio-runtime/examples/mp-sched/plot_flops.py
+++ b/gnuradio-runtime/examples/mp-sched/plot_flops.py
@@ -85,10 +85,10 @@ def handle_file(input_filename):
def main():
parser = ArgumentParser()
- parser.add_argument('file', help='Input file', nargs=1)
+ parser.add_argument('file', help='Input file')
args = parser.parse_args()
- handle_file(args.file[0])
+ handle_file(args.file)
if __name__ == '__main__':