show files to process always
This commit is contained in:
parent
9792530de6
commit
1a62499167
3 changed files with 4 additions and 4 deletions
|
@ -85,7 +85,7 @@ class image_classifier:
|
||||||
if count > limit:
|
if count > limit:
|
||||||
break
|
break
|
||||||
entries.append(entry)
|
entries.append(entry)
|
||||||
self._log.debug(f"Processing {len(entries)} files...")
|
self._log.info(f"Processing {len(entries)} files...")
|
||||||
for entry in entries:
|
for entry in entries:
|
||||||
if not entry.name.startswith('.') and entry.is_file():
|
if not entry.name.startswith('.') and entry.is_file():
|
||||||
self.process_file(entry.path)
|
self.process_file(entry.path)
|
||||||
|
@ -423,7 +423,7 @@ https://docs.python.org/3/library/datetime.html#strftime-strptime-behavior'
|
||||||
)
|
)
|
||||||
@click.option(
|
@click.option(
|
||||||
'--limit', '-l',
|
'--limit', '-l',
|
||||||
default=1000,
|
default=10,
|
||||||
help='Limit the number of files to process'
|
help='Limit the number of files to process'
|
||||||
)
|
)
|
||||||
@click_config_file.configuration_option()
|
@click_config_file.configuration_option()
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[metadata]
|
[metadata]
|
||||||
name = image_classifier
|
name = image_classifier
|
||||||
version = 0.0.13
|
version = 0.0.14
|
||||||
|
|
||||||
[options]
|
[options]
|
||||||
packages = image_classifier
|
packages = image_classifier
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -9,7 +9,7 @@ if os.access(requirements_file, os.R_OK):
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
scripts=['image_classifier/image_classifier.py'],
|
scripts=['image_classifier/image_classifier.py'],
|
||||||
author="Antonio J. Delgado",
|
author="Antonio J. Delgado",
|
||||||
version='0.0.13',
|
version='0.0.14',
|
||||||
name='image_classifier',
|
name='image_classifier',
|
||||||
author_email="antoniodelgado@susurrando.com",
|
author_email="antoniodelgado@susurrando.com",
|
||||||
url="",
|
url="",
|
||||||
|
|
Loading…
Reference in a new issue