mirror of
https://github.com/vastsa/FileCodeBox.git
synced 2026-11-23 07:37:15 +08:00
fix:issue 81 @Do1e
This commit is contained in:
1 parent
d91d64cad5
commit
c4e14be86b
1 file changed
+1
-1
+1
-1
@@ -41,7 +41,7 @@ class Settings:
|
||||
for line in f.readlines():
|
||||
key, value = line.strip().split('=')
|
||||
# 将字符串转换为原本的类型
|
||||
if value.isdigit():
|
||||
if isinstance(default_value[key], int):
|
||||
value = int(value)
|
||||
default_value[key] = value
|
||||
# 更新self
|
||||
|
||||
Reference in new issue
Block a user