Skip to content

Commit

Permalink
PDF 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 9de7193 commit 277251c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions reporting_modules/pdf_report_creation.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
import sys

sys.path.append('service')
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
except ImportError as e:
print(Fore.RED + "Import error appeared. Reason: {}".format(e) + Style.RESET_ALL)
Expand Down

0 comments on commit 277251c

Please sign in to comment.