diff --git a/common/Comic.py b/common/Comic.py index 0257eb2..d8c47b3 100644 --- a/common/Comic.py +++ b/common/Comic.py @@ -155,7 +155,7 @@ class Comic: dots = str(exec).split(".") if not isinstance(data,dict): data = json.loads(data) for dot in dots: - data = data.get(dot) + if dot != None: data = data.get(dot) return data @classmethod def setHomePage(cls,value): cls.dict_homepage = cls.setField(cls.dict_homepage,value)