mirror of
https://gitee.com/g1879/DrissionPage.git
synced 2024-12-10 04:00:23 +08:00
修复路径中有/时报错的bug
This commit is contained in:
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user