mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 12:42:34 +01:00
Add 'import supybot.i18n' warning to supybot-wizard.
This commit is contained in:
parent
260a511942
commit
eef901894d
@ -74,7 +74,7 @@ try:
|
||||
except ImportError:
|
||||
sys.stderr.write("""Error:
|
||||
You are running a mix of Limnoria and stock Supybot code. Although you run
|
||||
one of Limnoria\'s executables are installed, Python tries to load stock
|
||||
one of Limnoria\'s executables, Python tries to load stock
|
||||
Supybot\'s library. To fix this issue, uninstall Supybot
|
||||
("%s -m pip uninstall supybot" should do the job)
|
||||
and install Limnoria again.
|
||||
|
@ -54,7 +54,20 @@ import socket
|
||||
import logging
|
||||
import optparse
|
||||
|
||||
import supybot.i18n as i18n
|
||||
try:
|
||||
import supybot.i18n as i18n
|
||||
except ImportError:
|
||||
sys.stderr.write("""Error:
|
||||
You are running a mix of Limnoria and stock Supybot code. Although you run
|
||||
one of Limnoria\'s executables, Python tries to load stock
|
||||
Supybot\'s library. To fix this issue, uninstall Supybot
|
||||
("%s -m pip uninstall supybot" should do the job)
|
||||
and install Limnoria again.
|
||||
For your information, Supybot's libraries are installed here:
|
||||
%s\n""" %
|
||||
(sys.executable, '\n '.join(supybot.__path__)))
|
||||
exit(-1)
|
||||
|
||||
import supybot.ansi as ansi
|
||||
import supybot.utils as utils
|
||||
import supybot.ircutils as ircutils
|
||||
|
Loading…
Reference in New Issue
Block a user