chiark
/
gitweb
/
~matthewv
/
irc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52578ca
)
correct typo (missing : )
author
Matthew Vernon
<matthewv@chiark.greenend.org.uk>
Tue, 21 Aug 2018 15:47:07 +0000
(16:47 +0100)
committer
Matthew Vernon
<matthewv@chiark.greenend.org.uk>
Tue, 21 Aug 2018 15:47:07 +0000
(16:47 +0100)
commands.py
patch
|
blob
|
history
diff --git
a/commands.py
b/commands.py
index fbffa9f0ec6432bdf78e7b57dacaa04219d5c7e9..5a7cc94cdac1165910175f136cb1959afb9bd09b 100755
(executable)
--- a/
commands.py
+++ b/
commands.py
@@
-578,7
+578,7
@@
def getTweet(urlstring,twitapi,inclusion=False,recurlvl=0):
if expand_included_tweets:
if rv.hostname == 'twitter.com' and re.search(r'status/\d+',rv.path):
- if recurlvl > 2
+ if recurlvl > 2
:
stringsout = [ "{{ Recursion level too high }}" ] + stringsout
else:
quotedtweet = getTweet(toReplace, twitapi, inclusion=True, recurlvl=recurlvl+1) # inclusion parameter limits recursion.