|
|
@ -1,21 +1,18 @@
|
|
|
|
#!/usr/bin/python3
|
|
|
|
#!/usr/bin/python3
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
|
|
|
|
#import time
|
|
|
|
|
|
|
|
import datetime
|
|
|
|
import datetime
|
|
|
|
import os.path
|
|
|
|
import os.path
|
|
|
|
import asyncio
|
|
|
|
import asyncio
|
|
|
|
import logging
|
|
|
|
import logging
|
|
|
|
import argparse
|
|
|
|
import argparse
|
|
|
|
import websockets
|
|
|
|
import websockets
|
|
|
|
import http.server
|
|
|
|
|
|
|
|
import socketserver
|
|
|
|
import socketserver
|
|
|
|
import configparser
|
|
|
|
import configparser
|
|
|
|
import os
|
|
|
|
import os
|
|
|
|
from collections import deque
|
|
|
|
from collections import deque
|
|
|
|
from urllib.parse import urlparse, parse_qs
|
|
|
|
from urllib.parse import urlparse, parse_qs
|
|
|
|
from ansi2html import Ansi2HTMLConverter
|
|
|
|
from ansi2html import Ansi2HTMLConverter
|
|
|
|
from threading import Thread
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
current_dir = os.getcwd()
|
|
|
|
current_dir = os.getcwd()
|
|
|
|
config = configparser.ConfigParser()
|
|
|
|
config = configparser.ConfigParser()
|
|
|
|