From f640cee456fe8ee44532caa48e53d80a7db1b9fa Mon Sep 17 00:00:00 2001 From: Pang Date: Wed, 10 Apr 2024 16:00:58 +0000 Subject: [PATCH] =?UTF-8?q?=E5=B0=86useMediumZoom=E7=9A=84=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E5=80=BC=E6=94=B9=E4=B8=BA=E5=8E=9F=E5=A7=8B=E8=A1=8C?= =?UTF-8?q?=E4=B8=BA=E4=B8=80=E8=87=B4=EF=BC=8C=E5=8F=AF=E4=BB=A5=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E7=94=A8=E6=88=B7=E7=9A=84config.json=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E6=9D=A5=E8=A6=86=E7=9B=96=E9=BB=98=E8=AE=A4=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Gmeek.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gmeek.py b/Gmeek.py index 363b5d8..03cef5b 100644 --- a/Gmeek.py +++ b/Gmeek.py @@ -72,7 +72,7 @@ class GMEEK(): os.mkdir(self.post_dir) def defaultConfig(self): - dconfig={"singlePage":[],"startSite":"","filingNum":"","onePageListNum":15,"commentLabelColor":"#006b75","yearColorList":["#bc4c00", "#0969da", "#1f883d", "#A333D0"],"i18n":"CN","themeMode":"manual","dayTheme":"light","nightTheme":"dark","urlMode":"pinyin","script":"","style":"","bottomText":"","showPostSource":1,"iconList":{},"UTC":+8,"rssSplit":"sentence","exlink":{},"useMediumZoom":1,} + dconfig={"singlePage":[],"startSite":"","filingNum":"","onePageListNum":15,"commentLabelColor":"#006b75","yearColorList":["#bc4c00", "#0969da", "#1f883d", "#A333D0"],"i18n":"CN","themeMode":"manual","dayTheme":"light","nightTheme":"dark","urlMode":"pinyin","script":"","style":"","bottomText":"","showPostSource":1,"iconList":{},"UTC":+8,"rssSplit":"sentence","exlink":{},"useMediumZoom":0,} config=json.loads(open('config.json', 'r', encoding='utf-8').read()) self.blogBase={**dconfig,**config}.copy() self.blogBase["postListJson"]=json.loads('{}')