浏览代码

move JabberBot and SystemdKiller to core folder

blezz-tech 2 周之前
父节点
当前提交
acde22f8b1

+ 0 - 0
handlers/utils/JabberBot.py → handlers/core/JabberBot.py


+ 0 - 0
handlers/utils/SystemdKiller.py → handlers/core/SystemdKiller.py


+ 2 - 2
handlers/handlers/open_access_request_pending.py

@@ -2,7 +2,7 @@ import hashlib
 from datetime import datetime
 import config
 import logging
-from utils.JabberBot import JabberBot
+from core.JabberBot import JabberBot
 from slixmpp.stanza import Message
 import jsonAndRequest as jsreq
 from time import sleep
@@ -10,7 +10,7 @@ from lib import run_process
 from classes.Ticket import Ticket
 from typing import List
 from concurrent.futures import ThreadPoolExecutor
-from utils.SystemdKiller import SystemdKiller
+from core.SystemdKiller import SystemdKiller
 from core.utils import get_init_data
 
 botname = "open_access_request_pending"

+ 1 - 1
handlers/handlers/open_basic_bot.py

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

+ 1 - 1
handlers/main.py

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