From: Niki Roo Date: Sat, 26 Mar 2016 21:17:53 +0000 (+0100) Subject: save/load photos: do not add ".png" by force X-Git-Tag: v1.0~3 X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=f29274a79cd091262b65411ce81127b9de47f9b6;p=jvcard.git save/load photos: do not add ".png" by force --- diff --git a/src/be/nikiroo/jvcard/launcher/Main.java b/src/be/nikiroo/jvcard/launcher/Main.java index 9df98e2..b57a0f7 100644 --- a/src/be/nikiroo/jvcard/launcher/Main.java +++ b/src/be/nikiroo/jvcard/launcher/Main.java @@ -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 {