qian256.github.io icon indicating copy to clipboard operation
qian256.github.io copied to clipboard

Tags generated, count 0

Open andy5995 opened this issue 6 years ago • 5 comments

Tags generated, count 0

It seems to be breaking before reading the tags.

After adding a little debug code

$ python3 tag_generator.py 
_posts/2017-10-29-robert_koch_institut.md
_posts/2017-10-29-कोगनीटिव_बिहेवियर_थरेपी.md
_posts/2017-10-27-a-canvas-of-the-minds.md
_posts/2017-10-28-side_effects_book_alison_bass.md
Tags generated, count 0

It never gets to here:

for tag in total_tags:
    tag_filename = tag_dir + tag + '.md'
    f = open(tag_filename, 'a')
+  print(tag_filename)

Maybe the format of my post file?

tags:
    - wordpress
    - personal_stories
    - collaborative
    - blogs

andy5995 avatar Oct 30 '17 07:10 andy5995