template for new scanners

This commit is contained in:
klemek
2021-01-11 12:42:59 +01:00
parent 11921ffee9
commit e11bbf0327
5 changed files with 39 additions and 12 deletions
+2 -2
View File
@@ -49,8 +49,8 @@ class FullScanner(Scanner):
def get_results(self, intro: str) -> List[str]:
FrequencyScanner.compute_results(self.freq)
CompositionScanner.compute_results(self.comp)
OtherScanner.compute_results(self.other)
CompositionScanner.compute_results(self.comp, self.emotes)
OtherScanner.compute_results(self.other, self.emotes)
res = [intro]
res += ["__Frequency__:"]
res += self.freq.to_string()