diff options
-rwxr-xr-x | webmap-import | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/webmap-import b/webmap-import index 80f918e..c930730 100755 --- a/webmap-import +++ b/webmap-import @@ -525,6 +525,8 @@ def lockSourcePaths(layerdefs : dict[str,Any], lockdir: str) -> dict[str,int]: for layerdef in layerdefs: for source in layerdef['sources']: source_path = source['source']['path'] + if source_path in ret: + continue lockfile = getSourcePathLockFileName(source_path) lock_fd = os.open(lockfile, O_WRONLY|O_CREAT|O_CLOEXEC, mode=0o664, dir_fd=lockdir_fd) |