This commit is contained in:
zuowei1216
2025-12-30 14:46:22 +08:00
parent 6c73b31100
commit 12395d8eca
181 changed files with 1255 additions and 114 deletions

View File

@@ -0,0 +1,24 @@
import sys
from PyQt5.QtWidgets import QApplication
try:
from admin_gui import AdminWindow
print("Successfully imported AdminWindow")
except Exception as e:
print(f"Failed to import AdminWindow: {e}")
sys.exit(1)
def main():
app = QApplication(sys.argv)
try:
window = AdminWindow()
print("Successfully instantiated AdminWindow")
# Don't show or exec, just check if it crashes on init
# window.show()
except Exception as e:
print(f"Failed to instantiate AdminWindow: {e}")
import traceback
traceback.print_exc()
sys.exit(1)
if __name__ == "__main__":
main()