diff --git a/sample-workflows/transifex-util.py b/sample-workflows/transifex-util.py index d307247ebd..ca80b6de1e 100644 --- a/sample-workflows/transifex-util.py +++ b/sample-workflows/transifex-util.py @@ -50,6 +50,8 @@ def recreate_tx_config(): with open(".tx/config", "r") as file: contents = file.read() contents = contents.replace(".//LC_MESSAGES/", "") + + os.makedirs(".tx", exist_ok=True) with open(".tx/config", "w") as file: file.write(contents)