diff --git a/README.md b/README.md index 5fea487..c5aee1a 100644 --- a/README.md +++ b/README.md @@ -2,12 +2,12 @@ Completely rewritten in python, using sqlite for persistent data, and using conditional github api requests to collect the data. -I have the script running on a cron job, if you would like to see [the result](http://107.161.27.86/hugo-themes-report/hugo-themes-report.html). +I have the script running on a cron job, if you would like to see [the result](https://trentsonlinedocs.xyz/hugo-themes-report/hugo-themes-report.html). * mobile responsive (somewhat) tables using bootstrap * reports list of hugo themes, stars, and commit dates * rank by stars or commit date * sort by tags so you can compare side by side with the [hugo themes home page](https://themes.gohugo.io/) -* [hugo themes report](http://107.161.27.86/hugo-themes-report/hugo-themes-report.html) +* [hugo themes report](https://trentsonlinedocs.xyz/hugo-themes-report/hugo-themes-report.html) * [master list of hugo themes](https://github.com/gohugoio/hugoThemes) * [hugo themes home page](https://themes.gohugo.io/) diff --git a/rank_hugo_themes.py b/rank_hugo_themes.py index 30f7b45..77dfa97 100755 --- a/rank_hugo_themes.py +++ b/rank_hugo_themes.py @@ -475,7 +475,7 @@ def update_tag_table(): theme_list.append(theme[0]) tag = session.query(Tags).filter_by(tag=hugo_tag).first() if tag == None: - session.add(Tag(tag=hugo_tag,theme_list=str(theme_list),num_themes=len(theme_list))) + session.add(Tags(tag=hugo_tag,theme_list=str(theme_list),num_themes=len(theme_list))) else: theme_list,num_themes = str(theme_list),len(theme_list) if tag.theme_list != theme_list: tag.theme_list = theme_list