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:
parent
fa1168d9d0
commit
d03680f29e
1 changed files with 7 additions and 4 deletions
|
@ -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})
|
||||
|
|
Loading…
Reference in a new issue