From 20c72385815c5ccc096964e581e76a0c65032d37 Mon Sep 17 00:00:00 2001 From: Quentin Guilloteau Date: Thu, 29 Aug 2024 10:34:05 +0200 Subject: [PATCH] fix typo in ecg --- ecg/app/ecg.py | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/ecg/app/ecg.py b/ecg/app/ecg.py index f745ad9..d98e76f 100755 --- a/ecg/app/ecg.py +++ b/ecg/app/ecg.py @@ -1,13 +1,3 @@ -#!/bin/python3 - -""" - ECG is a program that automates software environment checking - for scientific artifacts. - - It is meant to be executed periodically to analyze variations in the - software environment of the artifact through time. -""" - import subprocess import json import argparse @@ -29,7 +19,7 @@ def download_file_and_get_hash(url, dest_path): try: req = requests.get(url) if req.status_code != 404: - with open(dest_path, "wb") a file: + with open(dest_path, "wb") as file: file.write(req.content) file_hash = hashlib.sha256(req.content).hexdigest() except requests.exceptions.ConnectionError: