Skip to content

Commit 410b1c7

Browse files
committed
Add: checksum ignore
1 parent 61c03f0 commit 410b1c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ctfcli/core/challenge.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,7 @@ def sync(self, ignore: Tuple[str] = ()) -> None:
736736
) as lf:
737737
local_file_sha1sum = hash_file(lf)
738738

739-
if local_file_sha1sum == remote_file_sha1sum:
739+
if not "checksum" in ignore and local_file_sha1sum == remote_file_sha1sum:
740740
continue
741741

742742
# if sha1sums are not present, or the hashes are different, re-upload the file

0 commit comments

Comments
 (0)