Commit 6aeba6c7 authored by coconux's avatar coconux
Browse files

Update extension

parent 44c51f08
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -63,7 +63,7 @@ if __name__ == "__main__":
        logging.info(f"Getting the script for job {job}")

        data = {}
        with open(f"{utils.JOBS_DIR}/{job}/{job}.{utils.JOBS_EXTENSION}", 'r') as file:
        with open(f"{utils.JOBS_DIR}/{job}/{job}{utils.JOBS_EXTENSION}", 'r') as file:
            data = yaml.load(file, Loader=yaml.FullLoader)

        for script in scripts:
+1 −1
Original line number Diff line number Diff line
@@ -57,7 +57,7 @@ if __name__ == "__main__":
    logging.info(f"Getting the image for job {args.job}")

    data = {}
    with open(f"{utils.JOBS_DIR}/{args.job}/{args.job}.{utils.JOBS_EXTENSION}", 'r') as file:
    with open(f"{utils.JOBS_DIR}/{args.job}/{args.job}{utils.JOBS_EXTENSION}", 'r') as file:
        data = yaml.load(file, Loader=yaml.FullLoader)

    # If image option is directly specified in the job