From: Neil Smith <neil.github@njae.me.uk>
Date: Fri, 25 Oct 2013 16:27:36 +0000 (+0100)
Subject: Fixed typo
X-Git-Url: https://git.njae.me.uk/?a=commitdiff_plain;h=07a3297934bff966559ff179de53d9df06221a5a;p=cipher-tools.git

Fixed typo
---

diff --git a/cipher.py b/cipher.py
index f2c6775..e38a5fd 100644
--- a/cipher.py
+++ b/cipher.py
@@ -125,7 +125,7 @@ def affine_break(message):
                 lettertxt = letter_frequencies(plaintxt)
                 total1 = scale_freq(lettertxt)
                 total2 = scale_freq(english_counts)
-                fit = value_diff(total2, total1)c
+                fit = value_diff(total2, total1)
                 if fit < best_fit:
                     best_key = (multiplier, shift, one_based)
                     best_fit = fit