aboutsummaryrefslogtreecommitdiffstats
path: root/tg2md.py
diff options
context:
space:
mode:
Diffstat (limited to 'tg2md.py')
-rw-r--r--tg2md.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/tg2md.py b/tg2md.py
index 90e219d..ac2f201 100644
--- a/tg2md.py
+++ b/tg2md.py
@@ -10,14 +10,13 @@
# - custom post header
import os
-import sys
import argparse
import json
from datetime import datetime
-
def print_default_post_header(post_title, post_date, post_tag):
+
'''
returns default post header
'''
@@ -259,8 +258,7 @@ def main():
with open(post_path, 'w') as f:
print(print_default_post_header(
- post_id, post_date, None),
- file=f)
+ post_id, post_date, None), file=f)
print(parse_post(post, args.photo_dir, args.media_dir), file=f)