Skip to content

Commit

Permalink
dev(narugo): fix a bug of pycharm refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
narugo1992 committed Oct 17, 2023
1 parent 546733d commit 9ead710
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imgutils/sd/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def parse_sdmeta_from_text(x: str) -> SDMetaData:
x = textwrap.dedent(x).strip()
*prompt_lines, argument_line = x.splitlines(keepends=False)
if len(_PARAM_PATTERN.findall(argument_line)) < 3:
prompt_lines._append(argument_line)
prompt_lines.append(argument_line)
argument_line = ''

# 0x1 means prompt, 0x2 means neg prompt
Expand Down

0 comments on commit 9ead710

Please sign in to comment.