diff --git a/Tagger/Tagger.jar b/Tagger/Tagger.jar index c419f93..44a4066 100644 Binary files a/Tagger/Tagger.jar and b/Tagger/Tagger.jar differ diff --git a/Tagger/src/PixivManager.java b/Tagger/src/PixivManager.java index 4c424af..a77de54 100644 --- a/Tagger/src/PixivManager.java +++ b/Tagger/src/PixivManager.java @@ -108,7 +108,7 @@ public class PixivManager { tagSubmitted=true; }*/ if (tagSubmitted) { - if (imageTag.tag_whitelist.size()==0 || imageTag.tag_whitelist.containsKey(insertedTag)) { + if (imageTag.tag_whitelist.size()==0 || imageTag.tag_whitelist.containsKey(insertedTag.toLowerCase())) { if (imageTag.taglist.containsKey(s)) { List tags = imageTag.taglist.get(s); tags.add(insertedTag); diff --git a/Tagger/src/imageTag.java b/Tagger/src/imageTag.java index c506095..a32b7ce 100644 --- a/Tagger/src/imageTag.java +++ b/Tagger/src/imageTag.java @@ -56,11 +56,11 @@ public class imageTag { try { s = br.readLine(); while (s!=null) { - String newtag = s.trim(); + String newtag = s.trim().toLowerCase(); tag_whitelist.put(newtag,true); System.out.println("Read in whitelisted tag: "+newtag); s=br.readLine(); - } + } } catch (IOException e) { e.printStackTrace(); }