mirror of
https://github.com/LouisShark/chatgpt_system_prompt.git
synced 2025-07-05 14:20:33 -04:00
Update idxtool.py
This commit is contained in:
parent
af10b079a0
commit
221a3a69b6
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ def rebuild_toc(toc_out: str = '') -> Tuple[bool, str]:
|
||||||
version = f" {gpt.get('version')}" if gpt.get('version') else ''
|
version = f" {gpt.get('version')}" if gpt.get('version') else ''
|
||||||
out.append(f" - [{gpt.get('title')}{version} (id: {id.id})]({file_link})\n")
|
out.append(f" - [{gpt.get('title')}{version} (id: {id.id})]({file_link})\n")
|
||||||
else:
|
else:
|
||||||
print(f"[!] {gpt}")
|
print(f"[!] {gpt.filename}")
|
||||||
|
|
||||||
ofile.writelines(out)
|
ofile.writelines(out)
|
||||||
ofile.close()
|
ofile.close()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue