mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 05:43:16 -07:00
gnore Thumbs.db on manual run. Fixes #735
This commit is contained in:
parent
b6c5422ce7
commit
1757a353da
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue