Commit 1b667444 authored by Jan Kiene's avatar Jan Kiene
Browse files

correctly use package

parent b1454c19
Loading
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@ import os
import pathlib
import subprocess
import sys
import csv

from get_id_of_last_job_occurence import get_job_id

@@ -68,8 +69,8 @@ def html_table_from_csv_file(csv_path, html_path):
    TABLE_HEADER_CELL = "<th>{}</th>"
    TABLE_CELL = "<td>{}</td>"

    with open(csv_path) as csv:
        reader = csv.DictReader(csv, delimiter=";")
    with open(csv_path) as csv_file:
        reader = csv.DictReader(csv_file, delimiter=";")

        with open(html_path, "w") as html:
            print("<table>", f=html)