Commit 62e662195297662c1967c657e6a6a346a9ef460c
1 parent
49f4c7a8
Exists in
master
and in
1 other branch
fix initdb error where csv was being initialized twice.
Showing
2 changed files
with
1 additions
and
5 deletions
Show diff stats
perguntations/__init__.py
perguntations/initdb.py
| ... | ... | @@ -177,10 +177,6 @@ def main(): |
| 177 | 177 | print('Adding users from:', csvfile) |
| 178 | 178 | students.extend(get_students_from_csv(csvfile)) |
| 179 | 179 | |
| 180 | - for csvfile in args.csvfile: | |
| 181 | - print('Adding users from:', csvfile) | |
| 182 | - students.extend(get_students_from_csv(csvfile)) | |
| 183 | - | |
| 184 | 180 | if args.add: |
| 185 | 181 | for uid, name in args.add: |
| 186 | 182 | print(f'Adding user: {uid}, {name}.') | ... | ... |