summaryrefslogtreecommitdiff
path: root/data_lib.py
diff options
context:
space:
mode:
authorrusinthread <rusinthread@cock.li>2017-05-19 00:10:02 +0300
committerrusinthread <rusinthread@cock.li>2017-05-19 00:10:02 +0300
commit24f2602711047289c53315ce8a59afe87db023bf (patch)
tree4b090126f67d0d173f3c944db470f9e822dc9d51 /data_lib.py
parentd1a8d43887e3a390912c9ed6b82017433b6a565f (diff)
Fix
Diffstat (limited to 'data_lib.py')
-rw-r--r--data_lib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/data_lib.py b/data_lib.py
index 5015fdc..2f1fa94 100644
--- a/data_lib.py
+++ b/data_lib.py
@@ -225,7 +225,7 @@ def decode_2char_rot_minus3(s):
lines = split_sen(s)
buf = ''
for line in lines:
- line = line.replace(' ', '')
+ line = line.replace(' ', '').replace("'", '')
if re.sub(r'[\.\!\?\\/]', '', line).isdigit():
buf += line
continue