mirror of
https://github.com/jxxghp/MoviePilot-Plugins.git
synced 2026-03-27 10:05:57 +00:00
fix: typo
This commit is contained in:
@@ -13,6 +13,10 @@ class SubscriptionConfig(BaseModel):
|
||||
proxy_groups: Optional[bool] = Field(True, alias='proxy-groups')
|
||||
proxy_providers: Optional[bool] = Field(True, alias='proxy-providers')
|
||||
|
||||
@validator('url', allow_reuse=True)
|
||||
def validate_url(cls, v: str):
|
||||
return v.strip()
|
||||
|
||||
|
||||
class PluginConfig(BaseModel):
|
||||
"""
|
||||
|
||||
@@ -104,7 +104,6 @@ class ImdbSource(_PluginBase):
|
||||
if not getattr(ChainBase.recognize_media, "_patched_by", object()) == id(self):
|
||||
self._original_method = getattr(ChainBase, "recognize_media", None)
|
||||
|
||||
patched_async_recognize_media._patched_by = id(self)
|
||||
setattr(patched_async_recognize_media, '_patched_by', id(self))
|
||||
# 保存原始方法
|
||||
if not getattr(ChainBase.async_recognize_media, "_patched_by", object()) == id(self):
|
||||
|
||||
Reference in New Issue
Block a user