summaryrefslogtreecommitdiff
path: root/bucket-lines/bucket.go
diff options
context:
space:
mode:
Diffstat (limited to 'bucket-lines/bucket.go')
-rw-r--r--bucket-lines/bucket.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bucket-lines/bucket.go b/bucket-lines/bucket.go
index db87418..bf25405 100644
--- a/bucket-lines/bucket.go
+++ b/bucket-lines/bucket.go
@@ -51,7 +51,7 @@ func bucketLine(l line.Detail, buckets BucketSpecs, dirname string) (string, err
avgstr = avgstr[2:]
}
- base := filepath.Join(dirname, todir, filepath.Base(l.OcrName) + "_" + l.Name + "_" + avgstr)
+ base := filepath.Join(dirname, todir, l.OcrName + "_" + l.Name + "_" + avgstr)
err := os.MkdirAll(filepath.Join(dirname, todir), 0700)
if err != nil {