aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.go2
-rwxr-xr-xtest.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index 04bc307..0d89b06 100644
--- a/main.go
+++ b/main.go
@@ -1855,7 +1855,7 @@ func cmdTag(args []string) error {
return nil
}
if _, err := stmt.Exec(sha1, spaceID, tag, weight, weight); err != nil {
- return fmt.Errorf("%s: %s", sha1, err)
+ log.Printf("%s: %s\n", sha1, err)
}
}
if err := scanner.Err(); err != nil {
diff --git a/test.sh b/test.sh
index a5136f4..a51aeb2 100755
--- a/test.sh
+++ b/test.sh
@@ -7,7 +7,7 @@ mkdir -p $target
cp -ra $HOME/Pictures/Anime $input
./gallery init $target
-./gallery sync $target $input
+./gallery sync $target $input "$@"
./gallery thumbnail $target
./gallery dhash $target
./gallery tag $target autotagger "DanBooru autotagger" \