fix for tag migration

This commit is contained in:
Dmitriy Kuzmenko 2019-11-16 23:03:17 +03:00
parent b1d176c583
commit 9f03da9bef

View File

@ -65,7 +65,7 @@ class Command(BaseCommand):
return meta_type return meta_type
def get_label(self, text): def get_label(self, text):
sp = text.key.split('_') sp = text.split('_')
label = ' '.join([sp[0].capitalize()] + sp[1:]) label = ' '.join([sp[0].capitalize()] + sp[1:])
return label return label