twitter: recognize integers as amounts, not just floats

This commit is contained in:
moneromooo 2015-03-17 09:07:26 +00:00
parent 38afd5000b
commit c51bde4afa
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ from tipbot.utils import *
from tipbot.command_manager import *
from tipbot.network import *
amount_regexp="\+[0-9]*\.[0-9]*"
amount_regexp="\+[0-9]*(\.[0-9]*)?"
username_regexp="@[a-zA-Z0-9_]+|[a-zA-Z]+:[a-zA-Z0-9]+"
force_parse_self = False