Skip to content

Commit 7d63eea

Browse files
Sample Workflows: Create .tx if necessary (#173)
1 parent dc7688c commit 7d63eea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sample-workflows/transifex-util.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ def recreate_tx_config():
5050
with open(".tx/config", "r") as file:
5151
contents = file.read()
5252
contents = contents.replace("./<lang>/LC_MESSAGES/", "")
53+
54+
os.makedirs(".tx", exist_ok=True)
5355
with open(".tx/config", "w") as file:
5456
file.write(contents)
5557

0 commit comments

Comments
 (0)