Fix comment grammar

This commit is contained in:
Valentin Lorentz 2024-12-06 12:49:00 +01:00
parent b76a6db1a9
commit 941d3121eb

View File

@ -111,7 +111,7 @@ def getLocalePath(name, localeName, extension):
if name != 'supybot': if name != 'supybot':
base = getPluginDir(name) base = getPluginDir(name)
else: else:
from . import ansi # Any Supybot plugin could fit from . import ansi # Any Supybot module works
base = ansi.__file__[0:-len('ansi.pyc')] base = ansi.__file__[0:-len('ansi.pyc')]
directory = os.path.join(base, 'locales') directory = os.path.join(base, 'locales')
return '%s/%s.%s' % (directory, localeName, extension) return '%s/%s.%s' % (directory, localeName, extension)