changeset 289:4fdbdaa60eb2 stable-0.9.x

Ported [318] to 0.9.x branch.
author cmlenz
date Sun, 09 Sep 2007 18:05:41 +0000
parents f064bd5e0108
children 65f03ea482fd
files babel/messages/frontend.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/babel/messages/frontend.py
+++ b/babel/messages/frontend.py
@@ -127,7 +127,7 @@
             if self.output_file:
                 mo_files.append(self.output_file)
             else:
-                mo_files.append(os.path.join(self.directory, locale,
+                mo_files.append(os.path.join(self.directory, self.locale,
                                              'LC_MESSAGES',
                                              self.domain + '.mo'))
 
Copyright (C) 2012-2017 Edgewall Software