summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/examples/mp-sched/plot_flops.py
diff options
context:
space:
mode:
authorSebastian Koslowski <koslowski@kit.edu>2016-11-17 21:20:55 +0100
committerSebastian Koslowski <koslowski@kit.edu>2016-11-17 21:21:08 +0100
commit7f25c0120fc7bc6a6eeee87878cf387647d51614 (patch)
treeab510060a2c5625d00e7f19f4c7d699861b98cea /gnuradio-runtime/examples/mp-sched/plot_flops.py
parente1acf2d27760d606cc7cba200aa380e885f2ffaf (diff)
parent1d50d70f0b990b909357a803881955623dea94d8 (diff)
Merge remote-tracking branch 'upstream/next' into gtk3
Diffstat (limited to 'gnuradio-runtime/examples/mp-sched/plot_flops.py')
-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__':