save/load photos: do not add ".png" by force
authorNiki Roo <niki@nikiroo.be>
Sat, 26 Mar 2016 21:17:53 +0000 (22:17 +0100)
committerNiki Roo <niki@nikiroo.be>
Sat, 26 Mar 2016 21:17:53 +0000 (22:17 +0100)
src/be/nikiroo/jvcard/launcher/Main.java

index 9df98e2e93eb8a0306836a3516f1389d952c21a2..b57a0f758711af87176d90d560f78d13b7fb0eac 100644 (file)
@@ -321,7 +321,7 @@ public class Main {
                                        Card card = getCard(file, null).getCard();
                                        for (Contact contact : card) {
                                                String filename = contact.toString(format, "");
-                                               File f = new File(dir, filename + ".png");
+                                               File f = new File(dir, filename);
 
                                                if (f.exists()) {
                                                        try {