summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorrusinthread <rusinthread@cock.li>2017-01-04 21:14:25 +0300
committerrusinthread <rusinthread@cock.li>2017-01-04 21:14:25 +0300
commit198133f259abadd334ff39dd3206f1231156d788 (patch)
treebea32666147557ad58c9388087bcfa31d12322b6 /main.py
parent0eb7b81ddfc48e77d68c8b8ef5cb6e31f023a317 (diff)
add new texts and photos from 2ch archive
Diffstat (limited to 'main.py')
-rwxr-xr-xmain.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.py b/main.py
index abf732a..cc42093 100755
--- a/main.py
+++ b/main.py
@@ -129,7 +129,7 @@ def decode(s, is_url=False):
if word == '':
continue
- if re.match(r'^\d+\%$', word):
+ if re.match(r'^\d+', word):
buf += word
elif is_url and word.endswith('://'):
buf += word[0]