Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-tools-x393
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-tools-x393
Commits
58106de9
Commit
58106de9
authored
Apr 29, 2023
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed errors for python3: .decode('ISO-8859-1'), input_raw -> input()
parent
c7f0d18e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
int_ssd_download.py
int_ssd_download.py
+2
-2
x393.py
x393.py
+1
-1
No files found.
int_ssd_download.py
View file @
58106de9
...
...
@@ -131,7 +131,7 @@ plist = []
all_downloaded
=
False
for
i
in
range
(
len
(
cams
)):
raw_
input
(
bcolors
.
OKGREEN
+
"Connect camera (eSATA) to PC (eSATA/SATA). Press Enter to continue..."
+
bcolors
.
ENDC
)
input
(
bcolors
.
OKGREEN
+
"Connect camera (eSATA) to PC (eSATA/SATA). Press Enter to continue..."
+
bcolors
.
ENDC
)
proceed_to_next
=
False
t
=
0
while
not
all_downloaded
:
...
...
@@ -179,4 +179,4 @@ for i in range(len(cams)):
for
cam
in
cams
:
cam
[
'obj'
]
.
ssd_to_camera
()
print
(
"Done"
)
\ No newline at end of file
print
(
"Done"
)
x393.py
View file @
58106de9
...
...
@@ -17,7 +17,7 @@ def shout(cmd):
#subprocess.call(cmd,shell=True)
ret_str
=
""
try
:
ret_str
=
subprocess
.
check_output
(
cmd
,
shell
=
True
)
ret_str
=
subprocess
.
check_output
(
cmd
,
shell
=
True
)
.
decode
(
'ISO-8859-1'
)
except
subprocess
.
CalledProcessError
as
e
:
ret_str
=
str
(
e
.
returncode
)
return
ret_str
...
...
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