Commit 11c6b0d3 by ‘chizw’

[+]配置优化

1 parent 58c07060
...@@ -2,7 +2,7 @@ import sys ...@@ -2,7 +2,7 @@ import sys
from log.logger import log from log.logger import log
class ConfigInfo: class ConfigInfo:
environment = sys.argv[1] if len(sys.argv) > 1 else "test" environment = sys.argv[2] if len(sys.argv) > 1 else "test"
log.info(f"environment:{environment}") log.info(f"environment:{environment}")
# environment = os.environ.get('ENV') # environment = os.environ.get('ENV')
if environment == 'release': if environment == 'release':
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!