forked from Toperlock/sing-box-subscribe
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename module dispatch -> core. Allow pass template JSON object directly. 0-based template selection.
- Loading branch information
Showing
4 changed files
with
59 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
__version__ = '0.4.0' | ||
__version__ = '0.4.1' | ||
|
||
from .dispatch import SingBoxConverter | ||
from .core import SingBoxConverter | ||
|
||
__all__ = ['SingBoxConverter'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
class InvalidSubscriptionsJsonFile(Exception): | ||
pass | ||
|
||
|
||
class InvalidSubscriptionsConfig(Exception): | ||
pass | ||
|
||
|
||
class NoTemplateConfigured(Exception): | ||
pass | ||
|
||
|
||
class InvalidTemplate(Exception): | ||
pass | ||
|
||
|
||
class UnknownRuleSet(Exception): | ||
pass | ||
|
||
|
||
class FailedToFetchSubscription(Exception): | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters