added crash time
This commit is contained in:
@@ -33,10 +33,8 @@ import time
|
|||||||
from docxtpl import DocxTemplate
|
from docxtpl import DocxTemplate
|
||||||
from bs4 import BeautifulSoup
|
from bs4 import BeautifulSoup
|
||||||
|
|
||||||
# Logger.basicConfig(level=logger.INFO, filename=f"{time.localtime()}")
|
|
||||||
# Some debugging options...
|
# Some debugging options...
|
||||||
|
# Logger.basicConfig(level=logger.INFO, filename=f"{time.localtime()}")
|
||||||
|
|
||||||
|
|
||||||
class bcolors:
|
class bcolors:
|
||||||
HEADER = '\033[95m'
|
HEADER = '\033[95m'
|
||||||
@@ -456,6 +454,6 @@ def process(url, date, totalGuys, config, filepath, headers=headers, noAI=noAI,
|
|||||||
os.system('"' + fullPath + '"')
|
os.system('"' + fullPath + '"')
|
||||||
|
|
||||||
except BaseException as err:
|
except BaseException as err:
|
||||||
print(err)
|
print(time.time(), err)
|
||||||
input("enter any key to exit")
|
input("enter any key to exit")
|
||||||
exit(1)
|
exit(1)
|
||||||
Reference in New Issue
Block a user