attachment link

This commit is contained in:
hello
2025-09-14 22:26:56 +00:00
parent 42e3a9ba59
commit 44a78204e4

View File

@@ -113,7 +113,7 @@ for filename in os.listdir("issues"):
print("Invalid attachment ID:", attachment_id)
continue
o.write(f"Attachment: {attachment_name}\n")
o.write(f"Attachment: {attachment_name}\n\n")
if attachment_name.endswith(".png") or attachment_name.endswith(".jpg") or attachment_name.endswith(".jpeg") or attachment_name.endswith(".gif"):
o.write(f"![{attachment_name}](https://gfwleak.exec.li/admin/geedge-jira/raw/branch/master/attachment/{attachment_id}/{attachment_name})\n\n")