Loads database and fills gui with items

This commit is contained in:
BarsTiger
2022-07-29 18:11:05 +03:00
commit 096e9d7f0d
30 changed files with 3864 additions and 0 deletions

0
modules/core/__init__.py Normal file
View File

View File

@@ -0,0 +1,15 @@
from traceback import format_exception
def hook(type_, value, traceback):
print("[!] Error happened")
print("Error type: ", type_.__name__)
print("Error value: ", value)
print("Error traceback: ", format_exception(type_, value, traceback)[2])
def thread_hook(exception):
print(f"[!] Error happened in {exception.thread}")
print("Error type: ", exception.exc_type.__name__)
print("Error value: ", exception.exc_value)
print("Error traceback: ", format_exception(exception.exc_type, exception.exc_value, exception.exc_traceback)[2])