OreosLab / SSRSpeedN

Consider using in PYL-R1714
Performance
Major
1 occurrence in this check
Consider merging these comparisons with 'in' by using 'emoji in ('4️⃣', '6️⃣')'. Use a set instead if elements are hashable.
213
214    def get_file_path(self, emoji: str) -> str:
215        code_points = [f'{ord(c):x}' for c in emoji]
216        if emoji == "4️⃣" or emoji == '6️⃣':217            del code_points[1]
218        file_path = f"./resources/emoji/twemoji/assets/72x72/{'-'.join(code_points)}.png"
219        return file_path