1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

Improved custom rules slightly

This commit is contained in:
Krateng
2018-11-29 14:45:31 +01:00
parent 9bcd701287
commit 08caeec8e0
5 changed files with 37 additions and 16 deletions

View File

@@ -41,7 +41,7 @@ class CleanerAgent:
if a.strip() in self.rules_belongtogether:
return [a.strip()]
if a.strip() in self.rules_replaceartist:
return [self.rules_replaceartist[a.strip()]]
return self.rules_replaceartist[a.strip()].split("")