Update config.py for Multi Threading

This commit is contained in:
yoshiko2
2021-04-29 10:00:54 +08:00
parent 043789dd45
commit ed044e0be3
2 changed files with 4 additions and 2 deletions

View File

@@ -43,6 +43,8 @@ class Config:
return self.conf.getboolean("common", "auto_exit") return self.conf.getboolean("common", "auto_exit")
def transalte_to_sc(self) -> bool: def transalte_to_sc(self) -> bool:
return self.conf.getboolean("common", "transalte_to_sc") return self.conf.getboolean("common", "transalte_to_sc")
def multi_threading(self) -> bool:
return self.conf.getboolean("common", "multi_threading")
def is_transalte(self) -> bool: def is_transalte(self) -> bool:
return self.conf.getboolean("transalte", "switch") return self.conf.getboolean("transalte", "switch")
def is_trailer(self) -> bool: def is_trailer(self) -> bool:

View File

@@ -1,5 +1,5 @@
{ {
"version": "4.5.1", "version": "4.6.1",
"version_show": "4.5.1", "version_show": "4.6.1",
"download": "https://github.com/yoshiko2/AV_Data_Capture/releases" "download": "https://github.com/yoshiko2/AV_Data_Capture/releases"
} }