From f29274a79cd091262b65411ce81127b9de47f9b6 Mon Sep 17 00:00:00 2001 From: Niki Roo Date: Sat, 26 Mar 2016 22:17:53 +0100 Subject: [PATCH] save/load photos: do not add ".png" by force --- src/be/nikiroo/jvcard/launcher/Main.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.27.0