readabilite: fix threshold feature

Awkward typo...
master
pictuga 2020-04-06 16:52:06 +02:00
parent dc9e425247
commit 6b8c3e51e7
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ def clean_node(node, keep_threshold=None):
# this is <html/> (or a removed element waiting for GC) # this is <html/> (or a removed element waiting for GC)
return return
if keep_threshold is not None and get_score(node) <= keep_threshold: if keep_threshold is not None and get_score(node) >= keep_threshold:
# high score, so keep # high score, so keep
return return