Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
transfers: Use g_file_query_exists() instead of g_file_test().
When checking for existing files, g_file_test (and os.path.exists) both follow symbolic links, whereas g_file_query_exists() notices the link itself. In both cases the link (and not the link's target) would have been overwritten, but now the recipient will know about it.
- Loading branch information