Show
Ignore:
Timestamp:
05/29/07 18:44:24 (18 months ago)
Author:
Tarek Ziad?? <tarek@…>
Message:

right encodings

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • atomisator/filters/levenshtein.py

    r92 r101  
    3232    """ 
    3333    content = entry['content'] 
     34    if content == '': 
     35        return False 
     36 
    3437    for stored_entry in entries.select_entries(): 
    3538        if ratio(content, stored_entry.content) > 0.7: 
    3639            return False 
     40 
    3741    return True 
    3842