Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-apps-autocampars
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
elphel-apps-autocampars
Commits
0fc43003
Commit
0fc43003
authored
Nov 18, 2016
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modifying autocampars.php to work with Eyesis too
parent
f8a732f9
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
378 additions
and
101 deletions
+378
-101
autocampars.php
src/autocampars.php
+374
-100
autocampars.py
src/autocampars.py
+4
-1
No files found.
src/autocampars.php
View file @
0fc43003
This diff is collapsed.
Click to expand it.
src/autocampars.py
View file @
0fc43003
...
...
@@ -86,7 +86,10 @@ def remote_parallel393(args, host, timeout=0): #fp in sec
for
i
in
argshosts
:
i
[
0
][
'cmd'
]
=
'py393'
urls
.
append
(
"http://"
+
i
[
1
]
+
"/"
+
WWW_SCRIPT
+
"?"
+
urllib
.
urlencode
(
i
[
0
]))
return
remote_parallel_urls
(
urls
=
urls
,
timeout
=
timeout
)
rslts
=
remote_parallel_urls
(
urls
=
urls
,
timeout
=
timeout
)
for
num
,
result
in
enumerate
(
results
):
print
(
">>>>> "
,
num
,
": "
,
result
);
return
rslts
def
remote_parallel_urls
(
urls
,
timeout
=
0
):
#imeout will restart for each next url
def
read_url
(
index
,
queue
,
url
):
...
...
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