mirror of
https://github.com/evilhero/mylar
synced 2024-12-25 17:16:51 +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 subprocess
|
||||||
import re
|
import re
|
||||||
#import logger
|
#import logger
|
||||||
import mylar
|
import mylar
|
||||||
from mylar import logger, helpers
|
from mylar import logger, helpers
|
||||||
import unicodedata
|
import unicodedata
|
||||||
import sys
|
import sys
|
||||||
import platform
|
import platform
|
||||||
|
|
||||||
def file2comicmatch(watchmatch):
|
def file2comicmatch(watchmatch):
|
||||||
|
@ -997,6 +997,9 @@ def traverse_directories(dir):
|
||||||
direc = ''
|
direc = ''
|
||||||
else:
|
else:
|
||||||
direc = dirname
|
direc = dirname
|
||||||
|
if '.AppleDouble' in direc:
|
||||||
|
#Ignoring MAC OS Finder directory of cached files (/.AppleDouble/<name of file(s)>)
|
||||||
|
continue
|
||||||
|
|
||||||
filelist.append({"directory": direc,
|
filelist.append({"directory": direc,
|
||||||
"filename": fname})
|
"filename": fname})
|
||||||
|
|
Loading…
Reference in a new issue