Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
Signed-off-by: gonejack <igonejack@gmail.com>
  • Loading branch information
gonejack committed Apr 30, 2021
1 parent 2b1efb3 commit 3ca3342
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func (t *TextBundleToEpub) appendTextBundle(textbundle string) (err error) {

// be compatible with bear
if _, err := os.Stat(ref); errors.Is(err, os.ErrNotExist) {
src, _ = url.QueryUnescape(src)
src, _ = url.PathUnescape(src)
ref = filepath.Join(basedir, src)
}

Expand Down

0 comments on commit 3ca3342

Please # to comment.