diff --git a/app/src/main/java/org/transdroid/daemon/DaemonSettings.java b/app/src/main/java/org/transdroid/daemon/DaemonSettings.java index d9e88d44..52218b7d 100644 --- a/app/src/main/java/org/transdroid/daemon/DaemonSettings.java +++ b/app/src/main/java/org/transdroid/daemon/DaemonSettings.java @@ -122,7 +122,7 @@ public final class DaemonSettings { return sslTrustKey; } public String getFolder() { - return folder; + return folder == null? null: (folder.startsWith("/")? folder: folder + "/"); } public boolean shouldUseAuthentication() { return useAuthentication;