Merge pull request #27 from yubanmeiqin9048/main

This commit is contained in:
jxxghp 2023-08-04 20:26:02 +08:00 committed by GitHub
commit 842d403dea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -94,7 +94,8 @@ class ReleaseGroupsMatcher(metaclass=Singleton):
# 自定义组
custom_release_groups = self.systemconfig.get(SystemConfigKey.CustomReleaseGroups)
if custom_release_groups:
groups = f"{self.__release_groups}|{custom_release_groups}"
custom_release_groups_str = '|'.join(custom_release_groups)
groups = f"{self.__release_groups}|{custom_release_groups_str}"
else:
groups = self.__release_groups
title = f"{title} "

View File

@ -36,6 +36,7 @@ class WordsMatcher(metaclass=Singleton):
# 集偏移
strings = word.split(" <> ")
offsets = strings[1].split(" >> ")
strings[1] = offsets[0]
title, message, state = self.__episode_offset(title, strings[0], strings[1],
offsets[1])
else: