Add javdb sites in config

This commit is contained in:
yoshiko2
2021-12-01 23:03:21 +08:00
parent 38e0e772b2
commit 5525aacae3
3 changed files with 13 additions and 2 deletions

View File

@@ -297,6 +297,12 @@ class Config:
except:
return "actor,director,label,outline,series,studio,tag,title"
def javdb_sites(self) -> str:
try:
return self.conf.get("javdb", "sites")
except:
return "33,34"
@staticmethod
def _exit(sec: str) -> None:
print("[-] Read config error! Please check the {} section in config.ini", sec)