Skip to content

Commit

Permalink
Fixed issue with Google Drive backups on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxMaeder committed Jun 3, 2020
1 parent 352e82a commit 2933fdd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ public void uploadFile(java.io.File file, String type) {
parentFolder = service.files().insert(parentFolder).execute();
}

String[] typeFolders = type.split(java.io.File.separator);
String[] typeFolders = type.split(java.io.File.separator.replace("\\", "\\\\"));

File childFolder = null;
ParentReference childFolderParent = new ParentReference();
Expand Down

0 comments on commit 2933fdd

Please sign in to comment.