summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gr-blocks/grc/blocks_file_source.block.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-blocks/grc/blocks_file_source.block.yml b/gr-blocks/grc/blocks_file_source.block.yml
index 6beea9f908..9db1e2a7f9 100644
--- a/gr-blocks/grc/blocks_file_source.block.yml
+++ b/gr-blocks/grc/blocks_file_source.block.yml
@@ -60,7 +60,7 @@ templates:
cpp_templates:
includes: ['#include <gnuradio/blocks/file_source.h>']
declarations: 'blocks::file_source::sptr ${id};'
- make: 'this->${id} =blocks::file_source::make(${type.size}*${vlen}, "${file[1:-1]}", ${repeat}, ${offset}, ${length});'
+ make: 'this->${id} =blocks::file_source::make(${type.size}*${vlen}, ${file}, ${repeat}, ${offset}, ${length});'
callbacks:
- open(${file}, ${repeat})
translations: