aboutsummaryrefslogtreecommitdiffstats
path: root/passcheck.py
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-01-21 12:23:54 +0100
committerMattias Andrée <maandree@operamail.com>2014-01-21 12:23:54 +0100
commite0762b7571ce966a03887f0e360a7b4447ac4054 (patch)
tree5688fa71bb34098498733c3b902dc8b9f4a7225d /passcheck.py
parentupdate pkgbuild (diff)
downloadpasscheck-e0762b7571ce966a03887f0e360a7b4447ac4054.tar.gz
passcheck-e0762b7571ce966a03887f0e360a7b4447ac4054.tar.bz2
passcheck-e0762b7571ce966a03887f0e360a7b4447ac4054.tar.xz
metrics fix
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'passcheck.py')
-rwxr-xr-xpasscheck.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/passcheck.py b/passcheck.py
index 1ff7473..c9b0106 100755
--- a/passcheck.py
+++ b/passcheck.py
@@ -60,9 +60,9 @@ def distance(a, b):
for x in range(len(L1)):
keys[L1[x]] = (x, 0)
for x in range(len(L2)):
- keys[L2[x]] = (x + 0.25, 1)
+ keys[L2[x]] = (x + 0.5, 1)
for x in range(len(L3)):
- keys[L3[x]] = (x + 0.5, 2)
+ keys[L3[x]] = (x + 0.75, 2)
for x in range(len(L4)):
keys[L4[x]] = (x + 1, 3)
for c in (a, b):