Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
funasr_web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 11c6b0d3
authored
Mar 25, 2024
by
‘chizw’
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[+]配置优化
1 parent
58c07060
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
config/config.py
config/config.py
View file @
11c6b0d
...
...
@@ -2,7 +2,7 @@ import sys
from
log.logger
import
log
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}"
)
# environment = os.environ.get('ENV')
if
environment
==
'release'
:
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment