diff --git a/experiments/ssl4eo/download_ssl4eo.py b/experiments/ssl4eo/download_ssl4eo.py index 69b67eb0a..ae312e63a 100755 --- a/experiments/ssl4eo/download_ssl4eo.py +++ b/experiments/ssl4eo/download_ssl4eo.py @@ -515,7 +515,7 @@ if __name__ == "__main__": # add to existing checked locations with open(ext_path, "a") as f: writer = csv.writer(f) - if patches is not None: + if patches: success = 1 else: success = 0