diff babel/messages/frontend.py @ 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 1f705a64f58f
children 4f48bc780538
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