Commit 9ead7105 authored by narugo1992's avatar narugo1992
Browse files

dev(narugo): fix a bug of pycharm refactor

parent 546733d0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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