diff --git a/scripts/supybot-plugin-create b/scripts/supybot-plugin-create index 9f5349542..c4b687454 100644 --- a/scripts/supybot-plugin-create +++ b/scripts/supybot-plugin-create @@ -92,13 +92,10 @@ pluginTemplate = ''' from supybot import utils, plugins, ircutils, callbacks from supybot.commands import * -try: - from supybot.i18n import PluginInternationalization - _ = PluginInternationalization('%s') -except ImportError: - # Placeholder that allows to run the plugin on a bot - # without the i18n module - _ = lambda x: x +from supybot.i18n import PluginInternationalization + + +_ = PluginInternationalization('%s') class %s(callbacks.Plugin):