diff options
author | rusinthread <rusinthread@cock.li> | 2017-01-06 20:21:03 +0300 |
---|---|---|
committer | rusinthread <rusinthread@cock.li> | 2017-01-06 20:21:03 +0300 |
commit | 5a1b182040d4ee73a32125f9f6d722664c0c6799 (patch) | |
tree | b15e8392984165eb5e7bf7a2dbd7810691b277cc /gen_md.py | |
parent | 86af59be43f19cc612de9a13d1de6a0c03d7102f (diff) |
update md
Diffstat (limited to 'gen_md.py')
-rwxr-xr-x | gen_md.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -53,7 +53,7 @@ def main(): pic_buf = [] for p in pic: pic_buf.append('![](./img_previews/%s =300x)' % p) - post_buf += '**Пикрилейтед:** %s\n\n' % ''.join(pic_buf) + post_buf += '**Пикрилейтед:**\n\n%s\n\n' % ''.join(pic_buf) if 'link' in post: # make sure it is a list @@ -71,7 +71,7 @@ def main(): else: post_buf += '\n\n' - post_buf += '**Шифровка (тип %d)**: \n```\n%s\n```\n\n' % (cipher_type, post['text']) + post_buf += '**Шифровка (тип %d)**: `%s`\n\n' % (cipher_type, post['text']) post_buf += '**Расшифровка:** `%s`' % decoded_text buf.append(post_buf) |