mirror of
https://git.wownero.com/wownero/tippero.git
synced 2024-08-15 00:33:14 +00:00
twitter: remove @ from user name when tipping
This commit is contained in:
parent
a4357a3ee7
commit
b757441c15
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ class TwitterNetwork(Network):
|
||||||
target=match.group(0)
|
target=match.group(0)
|
||||||
if self.on_command:
|
if self.on_command:
|
||||||
try:
|
try:
|
||||||
synthetic_cmd=['tip',target,line.replace('+','').replace(target,'').strip()]
|
synthetic_cmd=['tip',target.replace('@',''),line.replace('+','').replace(target,'').strip()]
|
||||||
log_log('Running synthetic command: %s' % (str(synthetic_cmd)))
|
log_log('Running synthetic command: %s' % (str(synthetic_cmd)))
|
||||||
self.on_command(link,synthetic_cmd)
|
self.on_command(link,synthetic_cmd)
|
||||||
except Exception,e:
|
except Exception,e:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue