mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Fix the 'No high bidder' bug (#876914)
This commit is contained in:
parent
9f1af0d95c
commit
fbcec1b89f
@ -161,10 +161,11 @@ class Ebay(callbacks.PrivmsgCommandAndRegexp, configurable.Mixin):
|
|||||||
m = r.search(s)
|
m = r.search(s)
|
||||||
if m:
|
if m:
|
||||||
if r in self._multiField:
|
if r in self._multiField:
|
||||||
# [:3] is to make sure that we don't pass a tuple with
|
# Have to filter the results from self._bidder since
|
||||||
# more than 3 items. this allows self._bidder to work
|
# 2 of the 5 items in its tuple will always be None.
|
||||||
# since self._bidder returns a 5 item tuple
|
#self.log.warning(m.groups())
|
||||||
resp.append('%s: %s (%s)' % bold(m.groups()[:3]))
|
matches = filter(None, m.groups())
|
||||||
|
resp.append('%s: %s (%s)' % bold(matches))
|
||||||
else:
|
else:
|
||||||
resp.append('%s: %s' % bold(m.groups()))
|
resp.append('%s: %s' % bold(m.groups()))
|
||||||
if resp:
|
if resp:
|
||||||
|
Loading…
Reference in New Issue
Block a user