release: v1.0.3

This commit is contained in:
acgnhiki 2021-09-07 10:07:10 +08:00
parent 458bd91d62
commit 230ceb2928
3 changed files with 10 additions and 1 deletions

View File

@ -1,5 +1,9 @@
# 更新日志 # 更新日志
## 1.0.3
- 修复 bug
## 1.0.2 ## 1.0.2
- 修复版本号没有更新~ - 修复版本号没有更新~

View File

@ -1,3 +1,3 @@
__version__ = '1.0.2' __version__ = '1.0.3'
__prog__ = 'blrec' __prog__ = 'blrec'

View File

@ -179,7 +179,12 @@ class StreamProcessor:
def _discard_file(self) -> None: def _discard_file(self) -> None:
curr_path = self._file_manager.curr_path curr_path = self._file_manager.curr_path
self._file_manager.close_file() self._file_manager.close_file()
if self._analyse_data:
self._data_analyser.reset()
logger.debug(f'discard file: {curr_path}') logger.debug(f'discard file: {curr_path}')
def _reset(self) -> None: def _reset(self) -> None: