Show More
@@ -334,7 +334,7 b' class SyncManager:' | |||||
334 | attachment_tag.set(ATTR_ID_TYPE, ID_TYPE_URL) |
|
334 | attachment_tag.set(ATTR_ID_TYPE, ID_TYPE_URL) | |
335 | attachment_tag.text = attachment.url |
|
335 | attachment_tag.text = attachment.url | |
336 |
|
336 | |||
337 | if tag_refs is not None: |
|
337 | if tag_refs is not None and attachment.is_internal(): | |
338 | attachment_ref = et.SubElement(tag_refs, TAG_ATTACHMENT_REF) |
|
338 | attachment_ref = et.SubElement(tag_refs, TAG_ATTACHMENT_REF) | |
339 | attachment_ref.set(ATTR_REF, attachment.hash) |
|
339 | attachment_ref.set(ATTR_REF, attachment.hash) | |
340 | attachment_ref.set(ATTR_URL, attachment.file.url) |
|
340 | attachment_ref.set(ATTR_URL, attachment.file.url) |
General Comments 0
You need to be logged in to leave comments.
Login now