1
0
Fork 0
mirror of https://github.com/evilhero/mylar synced 2024-12-25 01:01:47 +00:00

FIX:(#853) Incorrectly tallying .AppleDouble files when file-checking

This commit is contained in:
evilhero 2014-10-12 03:13:43 -04:00
parent fa1168d9d0
commit d03680f29e

View file

@ -21,10 +21,10 @@ import pprint
import subprocess
import re
#import logger
import mylar
from mylar import logger, helpers
import unicodedata
import sys
import mylar
from mylar import logger, helpers
import unicodedata
import sys
import platform
def file2comicmatch(watchmatch):
@ -997,6 +997,9 @@ def traverse_directories(dir):
direc = ''
else:
direc = dirname
if '.AppleDouble' in direc:
#Ignoring MAC OS Finder directory of cached files (/.AppleDouble/<name of file(s)>)
continue
filelist.append({"directory": direc,
"filename": fname})