1
0
mirror of https://gitee.com/g1879/DrissionPage.git synced 2024-12-10 04:00:23 +08:00

修复路径中有/时报错的bug

This commit is contained in:
g1879 2020-07-17 10:43:34 +08:00
parent ae816a45e0
commit bd0420b3e5

@ -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