diff options
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) |