ignore Thumbs.db

This commit is contained in:
j 2014-06-06 10:30:58 +03:00
parent af0ff62673
commit eb15019c94

View file

@ -105,6 +105,7 @@ def ignore_file(client, path):
filename = os.path.basename(path) filename = os.path.basename(path)
if filename.startswith('._') \ if filename.startswith('._') \
or filename in ('.DS_Store', ) \ or filename in ('.DS_Store', ) \
or filename in ('Thumbs.db', ) \
or filename.endswith('~') \ or filename.endswith('~') \
or 'Extras/' in path \ or 'Extras/' in path \
or 'Versions/' in path \ or 'Versions/' in path \