diff options
author | rusinthread <rusinthread@cock.li> | 2017-05-13 13:47:59 +0300 |
---|---|---|
committer | rusinthread <rusinthread@cock.li> | 2017-05-13 13:47:59 +0300 |
commit | cfd4b3a44907692a695bf8afe7d12efa209d654d (patch) | |
tree | ec22d70bb825378913f8001be41ad67c2ae3de0e /data_lib.py | |
parent | f4028d779547d60b7e6401a86f2efe0065f4c0a6 (diff) |
more accurate decryption
Diffstat (limited to 'data_lib.py')
-rw-r--r-- | data_lib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data_lib.py b/data_lib.py index 5c830c7..5015fdc 100644 --- a/data_lib.py +++ b/data_lib.py @@ -226,7 +226,7 @@ def decode_2char_rot_minus3(s): buf = '' for line in lines: line = line.replace(' ', '') - if line in ('3', '4', '7/5'): + if re.sub(r'[\.\!\?\\/]', '', line).isdigit(): buf += line continue buf += line[1] |