We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0edc71 commit c227fe5Copy full SHA for c227fe5
1 file changed
django_babel/management/commands/babel.py
@@ -83,7 +83,7 @@ def handle_makemessages(self, **options):
83
'%s.po' % domain)
84
85
if not os.path.isdir(os.path.dirname(pofile)):
86
- os.makedirs(basedir)
+ os.makedirs(os.path.dirname(pofile))
87
88
if not os.path.exists(pofile):
89
with open(pofile, 'wb') as fobj:
0 commit comments