fix: python3 compatibility

This commit is contained in:
ziirish 2017-02-17 17:29:31 +01:00
parent 77899147f0
commit e7e83c9510

View file

@ -38,8 +38,8 @@ app.controller('UserCtrl', function($timeout, $scope, $http, $scrollspy) {
// Available languages
$scope.languages = [
{% for key, val in config['LANGUAGES'].iteritems() %}
{ 'name': '{{ val.decode("utf-8") }}', 'id': '{{ key }}' },
{% for key, val in config['LANGUAGES'].items() %}
{ 'name': '{{ val }}', 'id': '{{ key }}' },
{% endfor %}
];