Move extract method into class

This commit is contained in:
taizan-hokuto
2020-02-26 23:47:33 +09:00
parent a9831c6a27
commit 18c08f45ad
3 changed files with 26 additions and 23 deletions

View File

@@ -9,6 +9,7 @@ from pytchat.tool.extract import parser
from pytchat.tool.extract.block import Block
from pytchat.tool.extract.patch import Patch, fill, split, set_patch
from pytchat.tool.extract.duplcheck import _dump
def _open_file(path):
with open(path,mode ='r',encoding = 'utf-8') as f:
return f.read()