mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Fixed's Strike's bug in Misc.revision. IT'S STRIKE'S BUG, MIND YOU\! IT ALWAYS HAS BEEN STRIKE'S BUG\!\! DON\'T EVER LET HIM TELL YOU OTHERWISE\!
This commit is contained in:
parent
bdbcd9562c
commit
5c660fd56e
@ -270,8 +270,8 @@ class Misc(callbacks.Privmsg):
|
||||
if 'supybot' in module.__file__:
|
||||
names[name] = getVersion(module.__revision__)
|
||||
else:
|
||||
for dir in dirs:
|
||||
if dir in module.__file__:
|
||||
for dir in conf.supybot.directories.plugins():
|
||||
if module.__file__.startswith(dir):
|
||||
names[name] = getVersion(module.__revision__)
|
||||
break
|
||||
L = ['%s: %s' % (k, v) for (k, v) in names.items() if v]
|
||||
|
Loading…
Reference in New Issue
Block a user