even more import changes

pull/13/head
bobloy 7 years ago
parent b9055e43ca
commit 5d9ea59386

@ -3,9 +3,9 @@ from __future__ import unicode_literals
import logging import logging
from . import utils from . import utils
from .input import InputAdapter from chatter.chatterbot.input import InputAdapter
from .output import OutputAdapter from chatter.chatterbot.output import OutputAdapter
from .storage import StorageAdapter from chatter.chatterbot.storage import StorageAdapter
class ChatBot(object): class ChatBot(object):
@ -14,7 +14,7 @@ class ChatBot(object):
""" """
def __init__(self, name, **kwargs): def __init__(self, name, **kwargs):
from .logic import MultiLogicAdapter from chatter.chatterbot.logic import MultiLogicAdapter
self.name = name self.name = name
kwargs['name'] = name kwargs['name'] = name

@ -1,6 +1,6 @@
from __future__ import unicode_literals from __future__ import unicode_literals
from .output_adapter import OutputAdapter from chatter.chatterbot.output import OutputAdapter
class Gitter(OutputAdapter): class Gitter(OutputAdapter):

@ -2,7 +2,7 @@ from __future__ import unicode_literals
import json import json
from .output_adapter import OutputAdapter from chatter.chatterbot.output import OutputAdapter
class HipChat(OutputAdapter): class HipChat(OutputAdapter):

@ -1,6 +1,6 @@
from __future__ import unicode_literals from __future__ import unicode_literals
from .output_adapter import OutputAdapter from chatter.chatterbot.output import OutputAdapter
class Mailgun(OutputAdapter): class Mailgun(OutputAdapter):

@ -2,7 +2,7 @@ from __future__ import unicode_literals
import json import json
from .output_adapter import OutputAdapter from chatter.chatterbot.output import OutputAdapter
class Microsoft(OutputAdapter): class Microsoft(OutputAdapter):

@ -1,6 +1,6 @@
from __future__ import unicode_literals from __future__ import unicode_literals
from .output_adapter import OutputAdapter from chatter.chatterbot.output import OutputAdapter
class TerminalAdapter(OutputAdapter): class TerminalAdapter(OutputAdapter):

Loading…
Cancel
Save