Fix wrong format check in CSV saving

This commit is contained in:
Marc Gilleron 2018-11-14 22:31:14 +00:00
parent 00591d7876
commit 7d970fe552

View File

@ -305,7 +305,7 @@ func save_file(path, format):
languages_to_save = _modified_languages.keys() languages_to_save = _modified_languages.keys()
saved_languages = PoLoader.save_po_translations(path, _data, languages_to_save) saved_languages = PoLoader.save_po_translations(path, _data, languages_to_save)
elif format == "csv": elif format == FORMAT_CSV:
saved_languages = CsvLoader.save_csv_translation(path, _data) saved_languages = CsvLoader.save_csv_translation(path, _data)
else: else: