X-Git-Url: http://git.tomasm.cz/krypto.git/blobdiff_plain/a710eb79b9b8717d84a084dbb14a79ebe839d86f..a57d58771fd023c23d1eb55e612c5a2bda49619a:/robot.py?ds=inline diff --git a/robot.py b/robot.py index 7f651e1..96f5a5b 100755 --- a/robot.py +++ b/robot.py @@ -142,7 +142,8 @@ if mod_m: analyza.append("\nIndex koincidence (s mezerami):") analyza.append('{0:.2%}'.format( koincidence.index_koincidence(zprava, True))) -if mod_x: +if mod_x and len(zprava) >= 10: + #TODO tady by se spravne mela porovnavat delka ocesane zpravy analyza.append("\nIndexy koincidence (bez mezer):") analyza.append(koincidence.tabulka_indexu(zprava))