Show More
@@ -31,6 +31,7 b" TAG_TAGS = 'tags'" | |||
|
31 | 31 | TAG_TAG = 'tag' |
|
32 | 32 | TAG_ATTACHMENT_REFS = 'attachment-refs' |
|
33 | 33 | TAG_ATTACHMENT_REF = 'attachment-ref' |
|
34 | TAG_TRIPCODE = 'tripcode' | |
|
34 | 35 | |
|
35 | 36 | TYPE_GET = 'get' |
|
36 | 37 | |
@@ -106,6 +107,10 b' class SyncManager:' | |||
|
106 | 107 | pub_time = et.SubElement(content_tag, TAG_PUB_TIME) |
|
107 | 108 | pub_time.text = str(post.get_pub_time_str()) |
|
108 | 109 | |
|
110 | if post.tripcode: | |
|
111 | tripcode = et.SubElement(content_tag, TAG_TRIPCODE) | |
|
112 | tripcode.text = post.tripcode | |
|
113 | ||
|
109 | 114 | if len(images) > 0 or len(attachments) > 0: |
|
110 | 115 | attachments_tag = et.SubElement(content_tag, TAG_ATTACHMENTS) |
|
111 | 116 | attachment_refs = et.SubElement(model, TAG_ATTACHMENT_REFS) |
General Comments 0
You need to be logged in to leave comments.
Login now