From bd0420b3e5ad6139a335ae583445847e6e70b55f Mon Sep 17 00:00:00 2001 From: g1879 Date: Fri, 17 Jul 2020 10:43:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=B7=AF=E5=BE=84=E4=B8=AD?= =?UTF-8?q?=E6=9C=89/=E6=97=B6=E6=8A=A5=E9=94=99=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DrissionPage/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DrissionPage/config.py b/DrissionPage/config.py index 56a1437..07f578e 100644 --- a/DrissionPage/config.py +++ b/DrissionPage/config.py @@ -45,7 +45,7 @@ class OptionsManager(object): for j in items: try: option[j[0]] = eval(self._conf.get(section, j[0]).replace('\\', '\\\\')) - except SyntaxError: + except: option[j[0]] = self._conf.get(section, j[0]) return option