randydev commited on
Commit
12ea7b7
Β·
verified Β·
1 Parent(s): 499c1b4

Update Detection/utils.py

Browse files
Files changed (1) hide show
  1. Detection/utils.py +4 -4
Detection/utils.py CHANGED
@@ -9,7 +9,7 @@ from database import db
9
  class DetectionManager:
10
  def __init__(self):
11
  self.loop = asyncio.get_event_loop()
12
- self.something_do = "RGV0ZWN0aW9uTGl0ZURldl9Cb3Q="
13
  self._setup_logging()
14
 
15
  def _setup_logging(self):
@@ -26,9 +26,9 @@ class DetectionManager:
26
  async def _start_services(self):
27
  logging.info("🟑 Starting Detection Manager...")
28
  await assistant.start()
29
- if assistant.me.username != base64.b64decode(self.something_do):
30
- logging.critical(f"πŸ”΄ Fatal error Invalid", exc_info=True)
31
- exit(1)
32
  logging.info(f"🟒 Assistant {assistant.me.mention} [ID: {assistant.me.id}] started")
33
  await db.connect()
34
  logging.info("🟒 Database connection established")
 
9
  class DetectionManager:
10
  def __init__(self):
11
  self.loop = asyncio.get_event_loop()
12
+ # self.something_do = "RGV0ZWN0aW9uTGl0ZURldl9Cb3Q="
13
  self._setup_logging()
14
 
15
  def _setup_logging(self):
 
26
  async def _start_services(self):
27
  logging.info("🟑 Starting Detection Manager...")
28
  await assistant.start()
29
+ #if assistant.me.username != base64.b64decode(self.something_do):
30
+ # logging.critical(f"πŸ”΄ Fatal error Invalid", exc_info=True)
31
+ # exit(1)
32
  logging.info(f"🟒 Assistant {assistant.me.mention} [ID: {assistant.me.id}] started")
33
  await db.connect()
34
  logging.info("🟒 Database connection established")