Merge pull request #44 from JonathonMA/fix/avoverride

Ignore antivirus errors when downloading files
This commit is contained in:
skilion 2016-04-01 21:41:18 +02:00
commit 9ac799516a

View file

@ -99,7 +99,7 @@ final class OneDriveApi
import std.file; import std.file;
if (exists(saveToPath)) remove(saveToPath); if (exists(saveToPath)) remove(saveToPath);
} }
char[] url = itemByIdUrl ~ id ~ "/content"; char[] url = itemByIdUrl ~ id ~ "/content?AVOverride=1";
download(url, saveToPath); download(url, saveToPath);
} }