handyman5 / acd_fuse

FUSE filesystem driver for Amazon Cloud Drive
Other
187 stars 23 forks source link

Prevent acd from trying to use non-existing pyacd methods when trying to authenticate when a client is still running. #6

Closed cambrant closed 9 years ago

cambrant commented 9 years ago

pyacd.Session.is_logined is renamed to is_logged_in(), and pyacd.Session.is_valid() is removed, thus unnecessary. The try block will raise an exception when trying to assign values to ACDFS.session is None. If that happens, we don't have to check if the session exists at all.

handyman5 commented 9 years ago

Thanks so much!