gnore Thumbs.db on manual run. Fixes #735

This commit is contained in:
clinton-hall 2015-03-21 18:41:23 +10:30
commit 1757a353da

View file

@ -557,6 +557,8 @@ def getDirs(section, subsection, link = 'hard'):
os.path.isfile(os.path.join(path, o)) ]: os.path.isfile(os.path.join(path, o)) ]:
if len(sync) > 0: if len(sync) > 0:
break break
if os.path.split(mediafile)[1] in ['Thumbs.db', 'thumbs.db']:
continue
try: try:
logger.debug("Found file %s in root directory %s." % (os.path.split(mediafile)[1], path)) logger.debug("Found file %s in root directory %s." % (os.path.split(mediafile)[1], path))
newPath = None newPath = None