Fix typo when converting po_path into list in Translation.translation_import

This feature was introduced with typo in changeset 1e46a7fc4fd5 for issue5733
This commit is contained in:
Cédric Krier committed 2016-08-13 02:17:12 +02:00
1 parent 9937191676
commit d972fea9e5
1 file changed
+1 -1
+1 -1
View File
@@ -777,7 +777,7 @@ class Translation(ModelSQL, ModelView):
pool = Pool()
ModelData = pool.get('ir.model.data')
if isinstance(po_path, basestring):
filenames = [po_path]
po_path = [po_path]
models_data = ModelData.search([
('module', '=', module),
])