Skip to content
Snippets Groups Projects
Commit 379739f1 authored by sveseli's avatar sveseli
Browse files

file size can be zero

parent eb9ea224
No related branches found
No related tags found
No related merge requests found
...@@ -69,7 +69,7 @@ class GridftpFileTransferPlugin(FileTransferPlugin): ...@@ -69,7 +69,7 @@ class GridftpFileTransferPlugin(FileTransferPlugin):
# Check size # Check size
fSize = filePathDict.get('fileSize') fSize = filePathDict.get('fileSize')
sfSize = storageFilePathDict.get('fileSize') sfSize = storageFilePathDict.get('fileSize')
if not fSize or not sfSize or fSize != sfSize: if fSize is None or sfSize is None or fSize != sfSize:
# Sizes differ, need to transfer file # Sizes differ, need to transfer file
continue continue
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment