Change the way to reading movie types and sub types to config file

This commit is contained in:
yoshiko2
2021-01-02 00:30:24 +08:00
parent 7490c27e6b
commit 7135b29abb
3 changed files with 4 additions and 4 deletions

View File

@@ -88,7 +88,7 @@ class Config:
except ValueError:
self._exit("common")
def media_rule(self) -> str:
def media_type(self) -> str:
return self.conf.get('media', 'media_type').replace(',', '|')
def sub_rule(self):