Change media_rule to media_type

This commit is contained in:
yoshiko2
2021-01-03 02:09:01 +08:00
parent 558b901e06
commit 34a16e8585

View File

@@ -89,7 +89,7 @@ class Config:
self._exit("common")
def media_type(self) -> str:
return self.conf.get('media', 'media_type').replace(',', '|')
return self.conf.get('media', 'media_type')
def sub_rule(self):
return self.conf.get('media', 'sub_type').split(',')