create locale dir
[electrum-nvc.git] / mki18n.py
index 22ecb61..afdb960 100755 (executable)
--- a/mki18n.py
+++ b/mki18n.py
@@ -31,6 +31,9 @@ s = f.read()
 f.close()
 s = s.replace('CHARSET', 'utf-8')
 
+if not os.path.exists('locale'):
+    os.mkdir('locale')
+
 for lang, strings in dicts.items():
     ss = s[:]
     for k,v in strings.items():