mirror of
https://github.com/d0zingcat/MoviePilot-Plugins.git
synced 2026-06-06 23:16:53 +00:00
fix 语法问题
This commit is contained in:
@@ -23,7 +23,7 @@ class DiagParamAdjust(_PluginBase):
|
||||
# 插件图标
|
||||
plugin_icon = "Themeengine_A.png"
|
||||
# 插件版本
|
||||
plugin_version = "1.1"
|
||||
plugin_version = "1.2"
|
||||
# 插件作者
|
||||
plugin_author = "jeblove"
|
||||
# 作者主页
|
||||
@@ -355,7 +355,7 @@ class DiagParamAdjust(_PluginBase):
|
||||
except KeyError:
|
||||
# 已装插件,未设置过该参数
|
||||
# logger.info('目标参数为空')
|
||||
return None
|
||||
return False
|
||||
|
||||
# 符合所有情况
|
||||
if 'repeatlast' in replaceText \
|
||||
@@ -412,6 +412,7 @@ class DiagParamAdjust(_PluginBase):
|
||||
logger.info('参数正常,无需修正')
|
||||
return True
|
||||
elif state is None:
|
||||
logger.info('插件退出')
|
||||
return None
|
||||
|
||||
self.set_options()
|
||||
|
||||
Reference in New Issue
Block a user