sync-from-tabellio: alter types to always start with a capital (#3592)

This commit is contained in:
Frédéric Péters 2013-09-11 17:10:50 +02:00
parent 3fe8f31aa9
commit 77b0cc9789
1 changed files with 2 additions and 0 deletions

View File

@ -213,6 +213,8 @@ class Command(BaseCommand):
if not t:
break
id, descr = t
if descr[0] == descr[0].lower():
descr = descr[0].upper() + descr[1:]
try:
doctype = TabellioDocType.objects.get(tabellio_doc_type=id)