Skip to content

Commit

Permalink
fix chain singleton
Browse files Browse the repository at this point in the history
  • Loading branch information
jxxghp committed Aug 1, 2023
1 parent cb08d57 commit 40386a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/chain/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import pickle
import traceback
from abc import ABCMeta
from pathlib import Path
from typing import Optional, Any, Tuple, List, Set, Union, Dict

Expand All @@ -16,10 +17,9 @@
WebhookEventInfo
from app.schemas.types import TorrentStatus, MediaType, MediaImageType
from app.utils.object import ObjectUtils
from app.utils.singleton import AbstractSingleton


class ChainBase(AbstractSingleton):
class ChainBase(metaclass=ABCMeta):
"""
处理链基类
"""
Expand Down

0 comments on commit 40386a6

Please sign in to comment.