Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Simone Rossi
main
Commits
4db9ca9e
Commit
4db9ca9e
authored
Jun 13, 2018
by
Daniele Venzano
Browse files
Fix zoepass.csv format
parent
39748fdc
Changes
1
Hide whitespace changes
Inline
Side-by-side
zoe_api/auth/file.py
View file @
4db9ca9e
...
...
@@ -37,7 +37,7 @@ class PlainTextAuthenticator:
with
open
(
self
.
passwd_file
,
"r"
)
as
passwd
:
passwd_reader
=
csv
.
reader
(
passwd
)
for
row
in
passwd_reader
:
if
len
(
row
)
!=
3
:
if
len
(
row
)
!=
2
:
continue
file_username
=
row
[
0
]
file_password
=
row
[
1
]
...
...
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