I haven't had time to dig into why, but when using
client.folder("/Shared/Temp/").create(ignore_if_exists=True)
An AttributeError or egnyte.exc.RequestError is thrown if the folder exists already.
From a quick glimpse it looks like the error is caused by this line not properly checking if the error that should be ignored is present in the request result:
|
result = any((errors[:len(ignored)] == ignored) for ignored in self.ignored_errors) |
I haven't had time to dig into why, but when using
client.folder("/Shared/Temp/").create(ignore_if_exists=True)An
AttributeErrororegnyte.exc.RequestErroris thrown if the folder exists already.From a quick glimpse it looks like the error is caused by this line not properly checking if the error that should be ignored is present in the request result:
python-egnyte/egnyte/exc.py
Line 174 in 68815e9