增加direct是否写入nfo文件配置

This commit is contained in:
todoXu
2023-09-02 03:24:19 +08:00
parent bea12db8bb
commit fbc741521d
3 changed files with 12 additions and 1 deletions

View File

@@ -373,6 +373,9 @@ class Config:
def debug(self) -> bool:
return self.conf.getboolean("debug_mode", "switch")
def get_direct(self) -> bool:
return self.conf.getboolean("direct", "switch")
def is_storyline(self) -> bool:
try:
return self.conf.getboolean("storyline", "switch")