diff --git a/mainparser.py b/mainparser.py index 3436c3b..114bafd 100644 --- a/mainparser.py +++ b/mainparser.py @@ -33,10 +33,8 @@ import time from docxtpl import DocxTemplate from bs4 import BeautifulSoup -# Logger.basicConfig(level=logger.INFO, filename=f"{time.localtime()}") # Some debugging options... - - +# Logger.basicConfig(level=logger.INFO, filename=f"{time.localtime()}") class bcolors: HEADER = '\033[95m' @@ -456,6 +454,6 @@ def process(url, date, totalGuys, config, filepath, headers=headers, noAI=noAI, os.system('"' + fullPath + '"') except BaseException as err: - print(err) + print(time.time(), err) input("enter any key to exit") exit(1) \ No newline at end of file