Skip to content

Commit

Permalink
skip all memes with less than 3 letters
Browse files Browse the repository at this point in the history
  • Loading branch information
SUPERustam committed Feb 7, 2024
1 parent e094aef commit d38f536
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/storage/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ async def update_meme_status_of_ready_memes() -> list[dict[str, Any]]:


async def find_meme_duplicate(meme_id: int, imagetext: str) -> int | None:
if len(imagetext) < 3: # skip all memes with less than 3 letters
if len(imagetext) < 3: # skip all memes with less than 3 letters
return None
select_query = """
SELECT
Expand Down

0 comments on commit d38f536

Please sign in to comment.