From 6bec3371d625cf80a3d22efe09dc8400f32d0dea Mon Sep 17 00:00:00 2001 From: caiwx86 Date: Wed, 5 Apr 2023 00:35:58 +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 d8c47b3..0257eb2 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: - if dot != None: data = data.get(dot) + data = data.get(dot) return data @classmethod def setHomePage(cls,value): cls.dict_homepage = cls.setField(cls.dict_homepage,value)