Skip to content

Commit

Permalink
HTML reporting module code clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
OSINT-TECHNOLOGIES committed Sep 11, 2024
1 parent 0c919cb commit 9de7193
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions reporting_modules/html_report_creation.py
Original file line number Diff line number Diff line change
@@ -1,23 +1,19 @@
from colorama import Fore
import sys

sys.path.append('service')
sys.path.append('service//pdf_report_templates')
from logs_processing import logging

from logs_processing import logging
import db_processing as db
import files_processing as fp

try:
import requests
from datetime import datetime
from jinja2 import Environment, FileSystemLoader
from xhtml2pdf import pisa
import os
from io import BytesIO
from colorama import Fore, Style
import webbrowser
import sqlite3
import platform
except ImportError as e:
print(Fore.RED + "Import error appeared. Reason: {}".format(e) + Style.RESET_ALL)
sys.exit()
Expand Down

0 comments on commit 9de7193

Please sign in to comment.