From 68702b4837e2d0243ae44793dd076cb6da95ac62 Mon Sep 17 00:00:00 2001 From: caiwx86 Date: Wed, 5 Apr 2023 00:23:00 +0800 Subject: [PATCH] fix --- common/Comic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)