small change to migration 6 to print more meaningful info

This commit is contained in:
Evgeny Fadeev 2013-08-16 23:00:52 -04:00
parent 13bab661aa
commit cfa8d9fff9
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ class Migration(DataMigration):
feed_type = 'm_and_c',
)
new_feed.save()
verbose_frequency = dict(const.NOTIFICATION_DELIVERY_SCHEDULE_CHOICES)[frequency]
verbose_frequency = unicode(dict(const.NOTIFICATION_DELIVERY_SCHEDULE_CHOICES)[frequency])
print 'added \'%s\' subscription for %s (%d)' % (
verbose_frequency,
unidecode(user.username),