From e52c67957f7d7918b849538cb0a707f999ae6e58 Mon Sep 17 00:00:00 2001 From: Bernardus Jansen Date: Sun, 15 May 2016 14:50:48 +0200 Subject: [PATCH] Fix avatar path Signed-off-by: Bernardus Jansen --- .../java/org/libresonic/player/dao/schema/hsql/Schema35.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema35.java b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema35.java index 3aad58d7..fd0ab7a0 100644 --- a/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema35.java +++ b/libresonic-main/src/main/java/org/libresonic/player/dao/schema/hsql/Schema35.java @@ -139,7 +139,7 @@ public class Schema35 extends Schema { InputStream in = null; try { - in = getClass().getResourceAsStream("/org.libresonic.player/dao/schema/" + avatar + ".png"); + in = getClass().getResourceAsStream("/org/libresonic/player/dao/schema/" + avatar + ".png"); byte[] imageData = IOUtils.toByteArray(in); template.update("insert into system_avatar values (null, ?, ?, ?, ?, ?, ?)", new Object[]{avatar, new Date(), "image/png", 48, 48, imageData});