mirror of
https://github.com/anasty17/mirror-leech-telegram-bot.git
synced 2025-01-09 04:47:34 +08:00
fix name sub incase added in usetting and try to pass it from args
Signed-off-by: anasty17 <e.anastayyar@gmail.com>
This commit is contained in:
parent
4ab846f657
commit
db8b0fca0f
@ -160,9 +160,9 @@ class TaskConfig:
|
||||
self.nameSub = (
|
||||
self.nameSub
|
||||
or self.userDict.get("name_sub", False)
|
||||
or config_dict["NAME_SUBSTITUTE"]
|
||||
or (config_dict["NAME_SUBSTITUTE"]
|
||||
if "name_sub" not in self.userDict
|
||||
else ""
|
||||
else "")
|
||||
)
|
||||
if self.nameSub:
|
||||
self.nameSub = [x.split(" : ") for x in self.nameSub.split(" | ")]
|
||||
|
Loading…
Reference in New Issue
Block a user