Fixes XKCD bug

This commit is contained in:
2025-07-31 16:47:00 -06:00
parent 53cb7a8665
commit f1bb6fce14

View File

@@ -51,6 +51,7 @@ class XKCDComic(Comic):
def get_all_strips(self) -> list:
return list(range(self.get_first_strip(), self.get_latest_strip() + 1))
@classmethod
def __new__(cls):
if not hasattr(cls, 'instance'):
cls.instance = super(XKCDComic, cls).__new__(cls)