Archived
1
0

Fixes counting mistake in the outputPathfunction

This commit is contained in:
Jip J. Dekker 2016-03-20 23:39:23 +01:00
parent 04f11977f5
commit a808d57296

View File

@ -69,6 +69,6 @@ func outputPath(source string, opts *settings.Settings) string {
if dot == -1 {
log.WithFields(log.Fields{"path": source}).Error("Unable to compute output path")
}
file = file[:dot] + "pdf"
file = file[:dot+1] + "pdf"
return filepath.Join(opts.OutputDir, file)
}