summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/edit/enhancers.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/edit/enhancers.go b/src/edit/enhancers.go
index b732ab2..4fa2ed5 100644
--- a/src/edit/enhancers.go
+++ b/src/edit/enhancers.go
@@ -7,8 +7,6 @@ import (
"mime/multipart"
"strings"
"path"
-
- "fmt"
)
type enhancer struct {
@@ -64,12 +62,10 @@ func loadEnhancers(filename string) []enhancer {
var enhancers = loadEnhancers("enhancers.txt")
func getEnhancer(ctype string) (head, tail string) {
- fmt.Fprintf(os.Stderr, "enhancers = %q\n", enhancers)
for _, enhancer := range enhancers {
for _, pattern := range enhancer.pattern {
matched, err := path.Match(pattern, ctype)
errcheck(err)
- fmt.Fprintf(os.Stderr, "Match(%q, %q) => %q\n", pattern, ctype, matched)
if matched {
return enhancer.head, enhancer.tail
}