added crash time

This commit is contained in:
2024-07-26 11:13:38 +09:00
parent 3d80922d53
commit 61ba0bd494

View File

@@ -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)