Skip to content

Commit

Permalink
add docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
aalbacetef committed Jan 20, 2024
1 parent f190b85 commit 4aa99f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/ui_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def plaintext_to_html(text, classname=None):


def update_logfile(logfile_path, fields):
"""Update a logfile from old format to new format to maintain CSV integrity."""
with open(logfile_path, "r", encoding="utf8", newline="") as file:
reader = csv.reader(file)
rows = list(reader)
Expand Down

0 comments on commit 4aa99f7

Please sign in to comment.