added verbosity to imagelist

This commit is contained in:
q
2012-11-27 19:38:28 +02:00
parent 94162ec6cb
commit 9ab77f59a3

View File

@@ -88,9 +88,11 @@ def add_recurse(options):
conn.text_factory=str conn.text_factory=str
db=conn.cursor() db=conn.cursor()
for path,dirs,files in os.walk(options.startpath,followlinks=options.symlinks): for path,dirs,files in os.walk(options.startpath,followlinks=options.symlinks):
print('Checking '+path)
dirs=clean_dirs(dirs) dirs=clean_dirs(dirs)
if not options.symlinks: if not options.symlinks:
files=clean_syms(files) files=clean_syms(files)
files.sort()
for file in files: for file in files:
if IMGMATCH.match(file): if IMGMATCH.match(file):
filename=os.path.abspath(os.path.join(path,file)) filename=os.path.abspath(os.path.join(path,file))