attachment link
This commit is contained in:
2
jira.py
2
jira.py
@@ -113,7 +113,7 @@ for filename in os.listdir("issues"):
|
|||||||
print("Invalid attachment ID:", attachment_id)
|
print("Invalid attachment ID:", attachment_id)
|
||||||
continue
|
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"):
|
if attachment_name.endswith(".png") or attachment_name.endswith(".jpg") or attachment_name.endswith(".jpeg") or attachment_name.endswith(".gif"):
|
||||||
o.write(f"\n\n")
|
o.write(f"\n\n")
|
||||||
|
|||||||
Reference in New Issue
Block a user