ldx / DBdownload

A simple one-way Dropbox sync client in Python
Other
60 stars 17 forks source link

Fix regression in cc7e26b0 #16

Closed lhoward closed 6 years ago

lhoward commented 6 years ago

The previous patch created a resync loop by clobbering target directory when the sync had completed; this was due to a leading slash not being present when comparing the key to the cached key name in _is_deleted().

A better place to map "/" to "" is just before calling list_folder().