diff options
Diffstat (limited to 'cmd/rescribe/main.go')
-rw-r--r-- | cmd/rescribe/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/rescribe/main.go b/cmd/rescribe/main.go index 3944ace..03d9663 100644 --- a/cmd/rescribe/main.go +++ b/cmd/rescribe/main.go @@ -244,7 +244,7 @@ These training files are included in rescribe, and are always available: } bookdir := flag.Arg(0) - bookname := filepath.Base(bookdir) + bookname := strings.ReplaceAll(filepath.Base(bookdir), " ", "_") savedir := bookdir if flag.NArg() > 1 { savedir = flag.Arg(1) |