Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ctfcli/core/challenge.py
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,7 @@ def sync(self, ignore: Tuple[str] = ()) -> None:
) as lf:
local_file_sha1sum = hash_file(lf)

if local_file_sha1sum == remote_file_sha1sum:
if not "checksum" in ignore and local_file_sha1sum == remote_file_sha1sum:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think should probably be called sha1sum since we don't technically use the checksum string but otherwise I'm okay with this

continue

# if sha1sums are not present, or the hashes are different, re-upload the file
Expand Down
Loading