import ModuleState when needed

This commit is contained in:
nemunaire 2015-01-05 10:18:40 +01:00
parent 2b9c810e88
commit e225f3b8d7
6 changed files with 7 additions and 1 deletions

View File

@ -10,6 +10,7 @@ import shlex
from nemubot.exception import IRCException from nemubot.exception import IRCException
from nemubot.hooks import hook from nemubot.hooks import hook
from nemubot.message import TextMessage, Command from nemubot.message import TextMessage, Command
from nemubot.tools.xmlparser.node import ModuleState
nemubotversion = 3.4 nemubotversion = 3.4

View File

@ -13,8 +13,9 @@ import traceback
from nemubot.exception import IRCException from nemubot.exception import IRCException
from nemubot.event import ModuleEvent from nemubot.event import ModuleEvent
from nemubot.hooks import hook from nemubot.hooks import hook
from nemubot.tools.date import extractDate
from nemubot.tools.countdown import countdown_format, countdown from nemubot.tools.countdown import countdown_format, countdown
from nemubot.tools.date import extractDate
from nemubot.tools.xmlparser.node import ModuleState
nemubotversion = 3.4 nemubotversion = 3.4

View File

@ -11,6 +11,7 @@ import urllib.parse
from nemubot.exception import IRCException from nemubot.exception import IRCException
from nemubot.hooks import hook from nemubot.hooks import hook
from nemubot.tools.xmlparser.node import ModuleState
nemubotversion = 3.4 nemubotversion = 3.4

View File

@ -7,6 +7,7 @@ from urllib.parse import quote
from nemubot.exception import IRCException from nemubot.exception import IRCException
from nemubot.hooks import hook from nemubot.hooks import hook
from nemubot.tools.xmlparser.node import ModuleState
from .pyaspell import Aspell from .pyaspell import Aspell
from .pyaspell import AspellError from .pyaspell import AspellError

View File

@ -9,6 +9,7 @@ from urllib.parse import quote
from nemubot.exception import IRCException from nemubot.exception import IRCException
from nemubot.hooks import hook from nemubot.hooks import hook
from nemubot.tools import web from nemubot.tools import web
from nemubot.tools.xmlparser.node import ModuleState
import mapquest import mapquest

View File

@ -10,6 +10,7 @@ from urllib.request import urlopen
from nemubot.exception import IRCException from nemubot.exception import IRCException
from nemubot.hooks import hook from nemubot.hooks import hook
from nemubot.tools.xmlparser.node import ModuleState
nemubotversion = 3.4 nemubotversion = 3.4