fix int match
This commit is contained in:
parent
e0290646df
commit
8ab903a4c7
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ class Ubottu(Plugin):
|
|||
bug_id = match[1]
|
||||
if match[2]:
|
||||
bug_id = match[2]
|
||||
if bug_id < 1000:
|
||||
if int(bug_id) < 1000:
|
||||
return False
|
||||
if self.flood_protection.flood_check_bug(bug_id) and self.flood_protection.flood_check(evt.sender):
|
||||
data = await self.lookup_launchpad_bug(bug_id)
|
||||
|
|
Loading…
Add table
Reference in a new issue