remove unnecessary imports

main
Marshall Hallenbeck 2023-09-19 21:49:10 -04:00
parent f876113fdb
commit b75b1dc218
1 changed files with 0 additions and 7 deletions

View File

@ -19,8 +19,6 @@ from concurrent.futures import ThreadPoolExecutor, as_completed
import asyncio
import nxc.helpers.powershell as powershell
import shutil
import webbrowser
import random
import os
from os.path import exists
from os.path import join as path_join
@ -41,11 +39,6 @@ if platform != "win32":
file_limit = tuple(file_limit)
resource.setrlimit(resource.RLIMIT_NOFILE, file_limit)
try:
import librlers
except:
print("Incompatible python version, try with another python version or another binary 3.8 / 3.9 / 3.10 / 3.11 that match your python version (python -V)")
exit(1)
def create_db_engine(db_path):
db_engine = sqlalchemy.create_engine(f"sqlite:///{db_path}", isolation_level="AUTOCOMMIT", future=True)