mirror of
https://github.com/anasty17/mirror-leech-telegram-bot.git
synced 2025-01-08 12:07:33 +08:00
Fix namesub from arg
This commit is contained in:
parent
c426fc8904
commit
2dd3d6c6ed
@ -156,7 +156,8 @@ class TaskConfig:
|
||||
|
||||
async def beforeStart(self):
|
||||
self.nameSub = (
|
||||
self.userDict.get("name_sub", False) or config_dict["NAME_SUBSTITUTE"]
|
||||
self.nameSub
|
||||
or self.userDict.get("name_sub", False) or config_dict["NAME_SUBSTITUTE"]
|
||||
if "name_sub" not in self.userDict
|
||||
else ""
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user