Open skamensky opened 5 years ago
(Note: I am writing this as this package user - I am not its maintainer). Strange @skamensky - this does work for me.
@gdubicki
I no longer have access to an Egnyte account so I can't test this :P.
Maybe it was fixed on the server side somehow!
I haven't had time to dig into why, but when using
client.folder("/Shared/Temp/").create(ignore_if_exists=True)
AnAttributeError
oregnyte.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: https://github.com/egnyte/python-egnyte/blob/68815e9494d20fbc7d45bd7df43bc92dc43be13c/egnyte/exc.py#L174