Fix video upload path

This commit is contained in:
Mario Danic 2017-03-24 14:04:21 +01:00
parent e21c8dcff9
commit 0258811e85

View file

@ -200,7 +200,7 @@ public class FileStorageUtils {
if (com.owncloud.android.db.PreferenceManager.instantVideoUploadPathUseSubfolders(context)) { if (com.owncloud.android.db.PreferenceManager.instantVideoUploadPathUseSubfolders(context)) {
subPath = getSubpathFromDate(dateTaken); subPath = getSubpathFromDate(dateTaken);
} }
return uploadVideoPath + subPath + (fileName == null ? "" : fileName); return uploadVideoPath + OCFile.PATH_SEPARATOR + subPath + (fileName == null ? "" : fileName);
} }
public static String getParentPath(String remotePath) { public static String getParentPath(String remotePath) {