Commit 919d72f44d4569030b00d5919f43bedb95f5237a
1 parent
02118cc9
Exists in
master
and in
4 other branches
Tiny irap category name capitalization
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/commands/commands.py
@@ -214,7 +214,7 @@ def feed_from_irap(csv_file_name): | @@ -214,7 +214,7 @@ def feed_from_irap(csv_file_name): | ||
214 | # | 214 | # |
215 | for c, l in categories.items(): | 215 | for c, l in categories.items(): |
216 | current_app.logger.debug("Adding category " + c) | 216 | current_app.logger.debug("Adding category " + c) |
217 | - n_c = Category(name=c) | 217 | + n_c = Category(name=c.capitalize()) |
218 | db.session.add(n_c) | 218 | db.session.add(n_c) |
219 | # db.session.commit() | 219 | # db.session.commit() |
220 | for label in l: | 220 | for label in l: |