diff options
| -rwxr-xr-x | crowdin_sync.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crowdin_sync.py b/crowdin_sync.py index 60f9f1e..8f4bfbe 100755 --- a/crowdin_sync.py +++ b/crowdin_sync.py @@ -67,7 +67,7 @@ def add_target_paths(config_files, repo, base_path, project_path): for f in config_files: fh = open(f, "r") try: - config = yaml.load(fh, Loader=yaml.FullLoader) + config = yaml.safe_load(fh) for tf in config['files']: if project_path in tf['source']: target_path = tf['translation'] |
