1
0
Fork 0
mirror of https://git.wownero.com/wownero/tippero.git synced 2024-08-15 00:33:14 +00:00

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

View file

@ -27,7 +27,7 @@ from tipbot.utils import *
from tipbot.command_manager import * from tipbot.command_manager import *
from tipbot.network 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]+" username_regexp="@[a-zA-Z0-9_]+|[a-zA-Z]+:[a-zA-Z0-9]+"
force_parse_self = False force_parse_self = False