elysia-best / TXT-Automatic-Chaptering

这是一个基于Python和Tkinter的TXT小说/文件分章、排序工具。可以方便的把乱序的TXT小说排序输出!
Other
13 stars 0 forks source link

当txt文件开头不是章节名称是会报错 #7

Closed elysia-best closed 1 year ago

elysia-best commented 1 year ago

Traceback (most recent call last): File "D:\Users\15228\miniconda3\lib\threading.py", line 953, in run self._target(*self._args, **self._kwargs) File "D:\Projects\TXT-Automatic-Chaptering\core\gui.py", line 129, in all_in_one split_txt( File "D:\Projects\TXT-Automatic-Chaptering\core\utils.py", line 59, in split_txt save_file.write(line) AttributeError: 'NoneType' object has no attribute 'write'

elysia-best commented 1 year ago

该问题将在新版本中处理,Python版本将不再更新

elysia-best commented 1 year ago

fixed