We need to add a delimiter for correct ratio

This commit is contained in:
Arun Prakash Jana 2018-08-06 22:03:20 +05:30
parent f9621e4b1a
commit e00b10d272
No known key found for this signature in database
GPG Key ID: A75979F35C080412

View File

@ -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