diff options
-rw-r--r-- | cmd/rescribe/gui.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/rescribe/gui.go b/cmd/rescribe/gui.go index 7ae5465..b359cf3 100644 --- a/cmd/rescribe/gui.go +++ b/cmd/rescribe/gui.go @@ -300,7 +300,7 @@ func startGui(log log.Logger, cmd string, training string, tessdir string) error bookdir := dir.Text savedir := dir.Text - bookname := filepath.Base(dir.Text) + bookname := strings.ReplaceAll(filepath.Base(dir.Text), " ", "_") f, err := os.Stat(bookdir) if err != nil { |