Browse Source

Bug fix -- missing total_count in result

master
sipp11 11 years ago
parent
commit
405534eee9
  1. 2
      s4.py

2
s4.py

@ -48,7 +48,7 @@ def produce(match_all):
is_matched = 1 if ii.lower() == los.los[lo]['model'].lower() else 0 is_matched = 1 if ii.lower() == los.los[lo]['model'].lower() else 0
r = [lo, is_matched, los.los[lo]['weight']] r = [lo, is_matched, los.los[lo]['weight']]
try: try:
r += weight[lo][1:] r += weight[lo]
except KeyError: except KeyError:
# print(ii, ' = ', is_matched, ' / ', lo) # print(ii, ' = ', is_matched, ' / ', lo)
pass pass

Loading…
Cancel
Save