From e00b10d2721d794148f6e6d440527e719db03ec9 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Mon, 6 Aug 2018 22:03:20 +0530 Subject: [PATCH] We need to add a delimiter for correct ratio --- buku.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buku.py b/buku.py index fb3ac70..c344776 100755 --- a/buku.py +++ b/buku.py @@ -2960,7 +2960,7 @@ def is_unusual_tag(tagstr): if nwords > 3 and ncommas == 0: return True - if ncommas and (nwords / ncommas) > 3: + if ncommas and (nwords / (ncommas + 1)) > 3: return True return False