mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +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__:
|
if 'supybot' in module.__file__:
|
||||||
names[name] = getVersion(module.__revision__)
|
names[name] = getVersion(module.__revision__)
|
||||||
else:
|
else:
|
||||||
for dir in dirs:
|
for dir in conf.supybot.directories.plugins():
|
||||||
if dir in module.__file__:
|
if module.__file__.startswith(dir):
|
||||||
names[name] = getVersion(module.__revision__)
|
names[name] = getVersion(module.__revision__)
|
||||||
break
|
break
|
||||||
L = ['%s: %s' % (k, v) for (k, v) in names.items() if v]
|
L = ['%s: %s' % (k, v) for (k, v) in names.items() if v]
|
||||||
|
Loading…
Reference in New Issue
Block a user