txt2ebook 0.1.103__py3-none-any.whl → 0.1.105__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.
txt2ebook/__init__.py CHANGED
@@ -22,7 +22,7 @@ import sys
22
22
 
23
23
  logger = logging.getLogger(__name__)
24
24
 
25
- __version__ = "0.1.103"
25
+ __version__ = "0.1.105"
26
26
 
27
27
 
28
28
  def setup_logger(config: argparse.Namespace) -> None:
txt2ebook/txt2ebook.py CHANGED
@@ -526,6 +526,6 @@ def main(args: Optional[Sequence[str]] = None):
526
526
  except Exception as error:
527
527
  logger.error(
528
528
  getattr(error, "message", str(error)),
529
- exc_info=getattr(config, "debug", True),
529
+ exc_info=("-d" in args or "--debug" in args),
530
530
  )
531
531
  raise SystemExit(1) from None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: txt2ebook
3
- Version: 0.1.103
3
+ Version: 0.1.105
4
4
  Summary: CLI tool to convert txt file to ebook format
5
5
  Home-page: https://github.com/kianmeng/txt2ebook
6
6
  License: AGPL-3.0-or-later
@@ -1,4 +1,4 @@
1
- txt2ebook/__init__.py,sha256=OxwCWgNoz2HHJrd6p0xroB7-KSENSpqIXUjUHzfGPjg,2062
1
+ txt2ebook/__init__.py,sha256=9SHfhlOwIc9Ln13h4bu6C8p-WUXUlbGDWs9OJramLzU,2062
2
2
  txt2ebook/__main__.py,sha256=gMLvgpqc_BL4cBqNe0vqErRF5dlJPAbvqu1zndcAHYI,850
3
3
  txt2ebook/exceptions.py,sha256=b2HDsXdqweLJbvSJEGt48nxvGkZq20SfYezSjwp77JU,842
4
4
  txt2ebook/formats/__init__.py,sha256=WhiRWGvbUjc8QZfhAIkKCg6GL8vNNlEF73meZSzYhDA,2463
@@ -33,10 +33,10 @@ txt2ebook/models/chapter.py,sha256=buECAklNQgM3tDehzyVO9YfA_F0iXyLq2PaMZGV_Zaw,1
33
33
  txt2ebook/models/volume.py,sha256=HyT4XO9yZ8d0PgZVfMMyAYUDFv58RrUmsSFNNmU-sHY,1592
34
34
  txt2ebook/parser.py,sha256=DbivznOgBOzlY5btTdB09D6yNGk5QXsE-gD2zc6lJyc,12188
35
35
  txt2ebook/tokenizer.py,sha256=Bm56thLiYSmRDuFiAaOH-NibzhYZQvnLo_u21KaV4Oo,9406
36
- txt2ebook/txt2ebook.py,sha256=abYTP_62aqHhfetXW8oOIypUaQCLFI7nmZwHdcm7P24,13693
36
+ txt2ebook/txt2ebook.py,sha256=qSWFaLWm1d0bz8G0JTe5554ejGUrkf89KHey6tVYEv8,13698
37
37
  txt2ebook/zh_utils.py,sha256=EgKVbwqYGaTGswQUGcOCeSfRelzwkAb9WWY9TrsX1x4,4882
38
- txt2ebook-0.1.103.dist-info/LICENSE.md,sha256=tGtFDwxWTjuR9syrJoSv1Hiffd2u8Tu8cYClfrXS_YU,31956
39
- txt2ebook-0.1.103.dist-info/METADATA,sha256=t_3cEy7QHSEQN7zAVsklCfa74HkIRXWx2GSYy6I2xTQ,7656
40
- txt2ebook-0.1.103.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
41
- txt2ebook-0.1.103.dist-info/entry_points.txt,sha256=IQHyIIhd0MHjSSRVC1a6tMeIoLus8D06KHL_cumvEbg,83
42
- txt2ebook-0.1.103.dist-info/RECORD,,
38
+ txt2ebook-0.1.105.dist-info/LICENSE.md,sha256=tGtFDwxWTjuR9syrJoSv1Hiffd2u8Tu8cYClfrXS_YU,31956
39
+ txt2ebook-0.1.105.dist-info/METADATA,sha256=G9AFmcbA_pxtaQ51KBJkGjYrZRtS0HZOUdimwK5vQ8w,7656
40
+ txt2ebook-0.1.105.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
41
+ txt2ebook-0.1.105.dist-info/entry_points.txt,sha256=IQHyIIhd0MHjSSRVC1a6tMeIoLus8D06KHL_cumvEbg,83
42
+ txt2ebook-0.1.105.dist-info/RECORD,,