Skip to content

Commit

Permalink
fix: ranking #automation on top
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorentLvr authored Dec 12, 2023
1 parent 1004b88 commit 8e10d64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions generate_readme.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -642,10 +642,10 @@
" \n",
" # Update json\n",
" ranking = 2\n",
" if \"automation\" in tags and tool in [\"Notion\", \"LinkedIn\", \"OpenAI\", \"Google Sheets\", \"HubSpot\"]:\n",
" if \"#automation\" in tags and tool in [\"Notion\", \"LinkedIn\", \"OpenAI\", \"Google Sheets\", \"HubSpot\"]:\n",
" ranking = 5\n",
" elif tool in [\"AI for Work\"]:\n",
" for x in [\"Sales\", \"Marketing\", \"Social Media\", \"Brand\", \"Financial\", \"Legal\", \"Expert\"]:\n",
" for x in [\"Sales\", \"Marketing\", \"Social Media\", \"Brand\", \"Financial\", \"Legal\"]:\n",
" if x in title:\n",
" ranking = 4\n",
" break\n",
Expand Down

0 comments on commit 8e10d64

Please sign in to comment.