handle null fields in modeltranslation
[wolnelektury.git] / apps / wolnelektury_core / management / commands / localepack.py
index 5d8ec87..146cd31 100644 (file)
@@ -167,7 +167,7 @@ class Command(BaseCommand):
             raise NotImplementedError('Sorry. Only zip format supported at the moment.')
 
         tmp_dir = tempfile.mkdtemp('-wl-locale')
-        out_dir = os.path.join(tmp_dir, packname)
+        out_dir = os.path.join(tmp_dir, packname_b)
         os.mkdir(out_dir)
 
         try: