Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
meta-elphel393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
meta-elphel393
Commits
a9dfafb8
Commit
a9dfafb8
authored
May 18, 2016
by
Mikhail Karpenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix file access error
parent
4c93e990
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
init_tempmon.py
recipes-core/init-tempmon/files/init_tempmon.py
+1
-1
No files found.
recipes-core/init-tempmon/files/init_tempmon.py
View file @
a9dfafb8
...
@@ -84,7 +84,7 @@ class temp_monitor():
...
@@ -84,7 +84,7 @@ class temp_monitor():
except
IOError
:
except
IOError
:
print
"Failed to create file: '
%
s
%
s'"
%
(
out_path_prefix
,
out_fnames
[
"core_temp_fn"
])
print
"Failed to create file: '
%
s
%
s'"
%
(
out_path_prefix
,
out_fnames
[
"core_temp_fn"
])
try
:
try
:
self
.
core_temp_params_f
=
open
(
out_path_prefix
+
out_fnames
[
"temp_params_fn"
],
"
r
+"
)
self
.
core_temp_params_f
=
open
(
out_path_prefix
+
out_fnames
[
"temp_params_fn"
],
"
w
+"
)
self
.
write_temp_params
()
self
.
write_temp_params
()
except
IOError
:
except
IOError
:
self
.
core_temp_out_f
.
close
()
self
.
core_temp_out_f
.
close
()
...
...
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