mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-03-26 16:10:38 -07:00
add docstring
This commit is contained in:
parent
f190b85182
commit
4aa99f77ab
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue