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:
parent
38afd5000b
commit
c51bde4afa
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue