Open jorik90 opened 8 years ago
Does this require a specific python module ? I tried to run your branch and had the following error: ImportError: cannot import name 'InsecureRequestWarning'
Weird. I'm just running a pretty clean Raspbian (Debian) installation. Could you try commenting out line 31 and 100 in onedrive_d/od_onedrive_api.py? It should be in the urllib3 package, which is required anyway.
It seems to work this way. Synchronization is going on pretty well.
Weird. I guess you have tons of warnings in the log file? That's the reason I added it.
There's only 1 issue I encouter personally about a few dozen times. Sometimes de API does not return the correct file size. This is giving me lot's of duplicates, mostly for PDF's and some photos. Problem is described here: http://stackoverflow.com/a/27031491. I'll try to work around that as well.
I'll also check if I can only filter out the InsecureRequestWarning's when the import is available.