summaryrefslogtreecommitdiff
path: root/gr-utils/python/utils/gr_plot_const
diff options
context:
space:
mode:
Diffstat (limited to 'gr-utils/python/utils/gr_plot_const')
-rwxr-xr-xgr-utils/python/utils/gr_plot_const4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-utils/python/utils/gr_plot_const b/gr-utils/python/utils/gr_plot_const
index 28f6a540da..653a2539b4 100755
--- a/gr-utils/python/utils/gr_plot_const
+++ b/gr-utils/python/utils/gr_plot_const
@@ -230,11 +230,11 @@ def main():
help="Specify where to start in the file [default=%(default)r]")
parser.add_argument("-R", "--sample-rate", type=float, default=1.0,
help="Set the sampler rate of the data [default=%(default)r]")
- parser.add_argument("file", metavar="FILE", nargs=1,
+ parser.add_argument("file", metavar="FILE",
help="Input file with complex samples")
args = parser.parse_args()
- dc = draw_constellation(args.file[0], args)
+ dc = draw_constellation(args.file, args)
if __name__ == "__main__":
try: