Skip to content

Commit

Permalink
Fix: use first() in stortedm2mqs, fixes #5023
Browse files Browse the repository at this point in the history
  • Loading branch information
phlax committed Aug 5, 2016
1 parent 50320de commit ea7c47b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pootle/apps/pootle_terminology/views.py
Expand Up @@ -27,7 +27,7 @@ def get_terminology_filename(translation_project):

return (
'pootle-terminology.%s'
% translation_project.project.filetypes[0].extension)
% translation_project.project.filetypes.first().extension)


def manage_store(request, ctx, language, term_store):
Expand Down

0 comments on commit ea7c47b

Please sign in to comment.