Commit 27693c62 authored by ibuler's avatar ibuler

[Update] 修改配置文件

parent 55b55f61
......@@ -280,6 +280,8 @@ class Config(dict):
return value
value = os.environ.get(item, None)
if value is not None:
if value.isdigit():
value = int(value)
return value
return self.defaults.get(item)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment