Commit 919d72f44d4569030b00d5919f43bedb95f5237a

Authored by hitier
1 parent 02118cc9

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 214 #
215 215 for c, l in categories.items():
216 216 current_app.logger.debug("Adding category " + c)
217   - n_c = Category(name=c)
  217 + n_c = Category(name=c.capitalize())
218 218 db.session.add(n_c)
219 219 # db.session.commit()
220 220 for label in l:
... ...