minor fixes

This commit is contained in:
Mathhew
2022-09-16 15:35:47 +08:00
parent 890b934fe9
commit 8db24498d0
2 changed files with 5 additions and 4 deletions

View File

@@ -37,7 +37,9 @@ class Parser:
expr_userrating = ''
expr_uservotes = ''
def __init__(self):
def init(self):
""" 初始化参数
"""
# 推荐剪切poster封面:
# `0` 复制cover
# `1` 裁剪cover
@@ -63,7 +65,7 @@ class Parser:
""" 刮削番号
"""
# 每次调用,初始化参数
self.__init__()
self.init()
self.updateCore(core)
result = self.search(number)
return result