Explorar el Código

move EchoBot to utils folder

blezz-tech hace 3 semanas
padre
commit
1a1d3fdeec

+ 1 - 1
handlers/handlers/open_access_request_pending.py

@@ -2,7 +2,7 @@ import hashlib
 from datetime import datetime
 from datetime import datetime
 import config
 import config
 import logging
 import logging
-from EchoBot import JabberBot
+from utils.EchoBot import JabberBot
 from slixmpp.stanza import Message
 from slixmpp.stanza import Message
 import jsonAndRequest as jsreq
 import jsonAndRequest as jsreq
 from time import sleep
 from time import sleep

+ 1 - 1
handlers/handlers/open_basic_bot.py

@@ -2,7 +2,7 @@ import hashlib
 from datetime import datetime
 from datetime import datetime
 import config
 import config
 import logging
 import logging
-from EchoBot import JabberBot
+from utils.EchoBot import JabberBot
 from slixmpp.stanza import Message
 from slixmpp.stanza import Message
 
 
 botname = "open_basic_bot"
 botname = "open_basic_bot"

+ 1 - 1
handlers/main.py

@@ -1,5 +1,5 @@
 import config
 import config
-from EchoBot import JabberBot
+from utils.EchoBot import JabberBot
 import logging
 import logging
 from argparse import ArgumentParser
 from argparse import ArgumentParser
 import importlib
 import importlib

+ 0 - 0
handlers/EchoBot.py → handlers/utils/EchoBot.py