Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
L
lcc-shape
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
wangmingming
lcc-shape
Commits
7dc10413
Commit
7dc10413
authored
Sep 10, 2024
by
wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ws 测试
parent
e3d6fba4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
main.py
ws/src/main.py
+6
-6
No files found.
ws/src/main.py
View file @
7dc10413
...
...
@@ -305,12 +305,12 @@ while True:
p
=
subprocess
.
Popen
([
'node'
,
'src_run3.js'
,
selectId
,
f
'z0t0U8fo={ck}'
,
'11'
,
token
,
proxy
],
stdin
=
subprocess
.
PIPE
,
stdout
=
subprocess
.
PIPE
,
stderr
=
subprocess
.
PIPE
)
output
,
err
=
p
.
communicate
(
timeout
=
30
)
tmp
=
''
if
p
.
returncode
==
0
:
tmp
=
output
.
decode
()
.
split
(
'
\n
'
)[
-
2
]
else
:
traceback
.
print_exc
()
raise
Exception
(
selectId
)
#
tmp = ''
#
if p.returncode == 0:
tmp
=
output
.
decode
()
.
split
(
'
\n
'
)[
-
2
]
#
else:
#
traceback.print_exc()
#
raise Exception(selectId)
r
:
dict
=
json
.
loads
(
tmp
)
# res = db.env_shape.update_one(
# {'_id': ObjectId(selectId)},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment