mirror of
https://github.com/abraunegg/onedrive
synced 2024-06-04 23:12:18 +02:00
Merge pull request #44 from JonathonMA/fix/avoverride
Ignore antivirus errors when downloading files
This commit is contained in:
commit
9ac799516a
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue