mirror of
https://github.com/pajamian/Pastebin2cpaste.git
synced 2025-04-25 12:31:07 -05:00
Use "not" instead of "!"
Python doesn't have a "!" operator like every other language on the planet. Instead it has "not".
This commit is contained in:
parent
c2c58d5fa2
commit
22eb243b30
@ -78,7 +78,7 @@ class Pastebin2cpaste(callbacks.Plugin):
|
||||
else:
|
||||
text = msg.args[1]
|
||||
for url in utils.web.httpUrlRe.findall(text):
|
||||
if ! utils.web.getDomain(url).lower() in self.pastebins:
|
||||
if not utils.web.getDomain(url).lower() in self.pastebins:
|
||||
continue
|
||||
pastebin = self.pastebins[utils.web.getDomain(url).lower()]
|
||||
if pastebin:
|
||||
|
Loading…
x
Reference in New Issue
Block a user