diff --git a/Gmeek.py b/Gmeek.py index 53f51d1..275dbe1 100644 --- a/Gmeek.py +++ b/Gmeek.py @@ -442,7 +442,7 @@ if os.environ.get('GITHUB_EVENT_NAME')!='schedule': print("====== update readme file ======") workspace_path = os.environ.get('GITHUB_WORKSPACE') readme="# %s :link: %s \r\n" % (blog.blogBase["title"],blog.blogBase["homeUrl"]) - readme=readme+"### :page_facing_up: [%d](%s/tag.html) \r\n" % (len(blog.blogBase["postListJson"]),blog.blogBase["homeUrl"]) + readme=readme+"### :page_facing_up: [%d](%s/tag.html) \r\n" % (len(blog.blogBase["postListJson"])-1,blog.blogBase["homeUrl"]) readme=readme+"### :speech_balloon: %d \r\n" % commentNumSum readme=readme+"### :hibiscus: %d \r\n" % wordCount readme=readme+"### :alarm_clock: %s \r\n" % datetime.datetime.now(blog.TZ).strftime('%Y-%m-%d %H:%M:%S')