mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
I may finally have squished the most obvious bugs.
This commit is contained in:
parent
09f54f0a43
commit
0194abff28
@ -120,8 +120,8 @@ class RSS(callbacks.Privmsg):
|
||||
else:
|
||||
url = name
|
||||
if self.willGetNewFeed(url):
|
||||
newFeeds.setdefault(url, []).append(channel)
|
||||
for (url, channels) in newFeeds.iteritems():
|
||||
newFeeds.setdefault((url, name), []).append(channel)
|
||||
for ((url, name), channels) in newFeeds.iteritems():
|
||||
# We check if we can acquire the lock right here because if we
|
||||
# don't, we'll possibly end up spawning a lot of threads to get
|
||||
# the feed, because this thread may run for a number of bytecodes
|
||||
|
Loading…
Reference in New Issue
Block a user