diff --git a/wiki_tool_python/wikitool.py b/wiki_tool_python/wikitool.py index 7a9c08f..529d88c 100644 --- a/wiki_tool_python/wikitool.py +++ b/wiki_tool_python/wikitool.py @@ -715,6 +715,7 @@ def upload_images( if skip_nonexistent: click.echo(f'File {image_name} not found') skipped_filenames.append(image_name) + continue else: raise click.ClickException(f'File {image_name} not found') with open(image_filename, 'rb') as image_file: