Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Iker Martín Álvarez
Proteo
Commits
bd962e07
Commit
bd962e07
authored
Feb 07, 2024
by
iker_martin
Browse files
Minor bug fix in exec file
parent
6431137a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Exec/PythonCodes/read_multiple.py
View file @
bd962e07
...
@@ -133,9 +133,9 @@ def key_line_write(f, keys, values):
...
@@ -133,9 +133,9 @@ def key_line_write(f, keys, values):
for
i
in
range
(
len
(
keys
)):
for
i
in
range
(
len
(
keys
)):
f
.
write
(
keys
[
i
]
+
"="
)
f
.
write
(
keys
[
i
]
+
"="
)
if
type
(
values
[
i
])
==
tuple
:
if
type
(
values
[
i
])
==
tuple
:
f
.
write
(
str
(
values
[
0
]))
f
.
write
(
str
(
values
[
i
][
0
]))
for
j
in
range
(
len
(
1
,
values
[
i
])):
for
j
in
range
(
1
,
len
(
values
[
i
])):
f
.
write
(
","
+
str
(
values
[
i
])
)
f
.
write
(
","
+
str
(
values
[
i
]
[
j
]
)
)
else
:
else
:
f
.
write
(
str
(
values
[
i
]))
f
.
write
(
str
(
values
[
i
]))
f
.
write
(
"
\n
"
)
f
.
write
(
"
\n
"
)
...
...
Write
Preview
Supports
Markdown
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