fotolab 0.16.17__py2.py3-none-any.whl → 0.16.18__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
fotolab/__init__.py CHANGED
@@ -21,7 +21,7 @@ import subprocess
21
21
  import sys
22
22
  from pathlib import Path
23
23
 
24
- __version__ = "0.16.17"
24
+ __version__ = "0.16.18"
25
25
 
26
26
  log = logging.getLogger(__name__)
27
27
 
fotolab/cli.py CHANGED
@@ -154,7 +154,6 @@ def build_parser() -> argparse.ArgumentParser:
154
154
  def main(args: Optional[Sequence[str]] = None) -> None:
155
155
  """Run the main program flow."""
156
156
  args = args or sys.argv[1:]
157
- parsed_args = argparse.Namespace(debug=True)
158
157
  log.debug(args)
159
158
 
160
159
  try:
@@ -175,7 +174,7 @@ def main(args: Optional[Sequence[str]] = None) -> None:
175
174
  log.error(
176
175
  "error: %s",
177
176
  getattr(error, "message", str(error)),
178
- exc_info=getattr(parsed_args, "debug", True),
177
+ exc_info=("-d" in args or "--debug" in args),
179
178
  )
180
179
 
181
180
  raise SystemExit(1) from None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fotolab
3
- Version: 0.16.17
3
+ Version: 0.16.18
4
4
  Summary: A console program that manipulate images.
5
5
  Keywords: photography,photo
6
6
  Author-email: Kian-Meng Ang <kianmeng@cpan.org>
@@ -1,9 +1,9 @@
1
- fotolab/__init__.py,sha256=qP6gvbqFk1sDJ5TBEb93V94RXlDx6CLNo3Td6D-12nQ,2062
1
+ fotolab/__init__.py,sha256=nNtT1iN7A03DwrVSei1jGtK-UoNqQRdm8A4HZrKkkV4,2062
2
2
  fotolab/__main__.py,sha256=aboOURPs_snOXTEWYR0q8oq1UTY9e-NxCd1j33V0wHI,833
3
3
  fotolab/animate.py,sha256=ejimhTozo9DN7BbqqcV4x8zLnanZRKq1pxBBFeOdr6Q,2967
4
4
  fotolab/auto.py,sha256=1Toxe8pA_tq15g1-imMFuHf1L94Ac7EthPTu7E8SAzE,2217
5
5
  fotolab/border.py,sha256=5ch2d7LVPhB2OFuuXSW5ci6Cn967CPDQu0qSfaO7uMg,3591
6
- fotolab/cli.py,sha256=XENJqvvMxOTHVYfch8gZJhkzGxhex0LUAe75ISNNWPo,5032
6
+ fotolab/cli.py,sha256=_9OvqkzVGwoIMwJvj7I0OwME_W9YHTCpye-Qh9wvamA,4983
7
7
  fotolab/contrast.py,sha256=l7Bs5p8W8ypN9Cg3fFHnU-A20UwMKtjTiPk6D0PRwpM,2095
8
8
  fotolab/env.py,sha256=u63uuy1LG9bXy5Q-x1JfPiQaGCGwTYy-GJmWtzSkeFc,1477
9
9
  fotolab/info.py,sha256=DawXTQJiQDBwy0Ml5Ysk8MvKga3ikp_aIw73AR3LdZo,1687
@@ -12,8 +12,8 @@ fotolab/resize.py,sha256=cvPfh4wUfydM23Do7VnP6Bx2EqMHKfYFYrpiNhyWzCU,3259
12
12
  fotolab/rotate.py,sha256=l_vQgf0IcI8AR1TSVsk4PrMZtJ3j_wpU77rKiGJ-KTA,1715
13
13
  fotolab/sharpen.py,sha256=wUPtJdtB6mCRmcHrA0CoEVO0O0ROBJWhejTvUeL67QU,2655
14
14
  fotolab/watermark.py,sha256=JnCIB--WZ2COG1BNrFY14GaWznz7BqBlwOVz4uW8H3Q,6546
15
- fotolab-0.16.17.dist-info/entry_points.txt,sha256=mvw7AY_yZkIyjAxPtHNed9X99NZeLnMxEeAfEJUbrCM,44
16
- fotolab-0.16.17.dist-info/LICENSE.md,sha256=tGtFDwxWTjuR9syrJoSv1Hiffd2u8Tu8cYClfrXS_YU,31956
17
- fotolab-0.16.17.dist-info/WHEEL,sha256=Sgu64hAMa6g5FdzHxXv9Xdse9yxpGGMeagVtPMWpJQY,99
18
- fotolab-0.16.17.dist-info/METADATA,sha256=f8SorvhIK70fPa4tyenLO4Nr6RN44gRtfu8wHQJaXk8,10549
19
- fotolab-0.16.17.dist-info/RECORD,,
15
+ fotolab-0.16.18.dist-info/entry_points.txt,sha256=mvw7AY_yZkIyjAxPtHNed9X99NZeLnMxEeAfEJUbrCM,44
16
+ fotolab-0.16.18.dist-info/LICENSE.md,sha256=tGtFDwxWTjuR9syrJoSv1Hiffd2u8Tu8cYClfrXS_YU,31956
17
+ fotolab-0.16.18.dist-info/WHEEL,sha256=Sgu64hAMa6g5FdzHxXv9Xdse9yxpGGMeagVtPMWpJQY,99
18
+ fotolab-0.16.18.dist-info/METADATA,sha256=-YtKpVbShnplzRAmRT_etEjEg6UrF_5_zO_KW2WUH8E,10549
19
+ fotolab-0.16.18.dist-info/RECORD,,