소스 검색

move JabberBot and SystemdKiller to core folder

blezz-tech 3 주 전
부모
커밋
acde22f8b1
5개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 0 0
      handlers/core/JabberBot.py
  2. 0 0
      handlers/core/SystemdKiller.py
  3. 2 2
      handlers/handlers/open_access_request_pending.py
  4. 1 1
      handlers/handlers/open_basic_bot.py
  5. 1 1
      handlers/main.py

+ 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