Wobuzz/wobuzz/main.py

21 lines
371 B
Python
Raw Normal View History

2024-12-20 18:02:59 +01:00
#!/usr/bin/python3
import sys
from PyQt6.QtWidgets import QApplication
from gui import GUI
from wobuzz.player.player import Player
2024-12-20 18:02:59 +01:00
class Wobuzz:
def __init__(self):
self.qt_app = QApplication([])
2024-12-20 18:02:59 +01:00
self.player = Player(sys.argv[1:])
self.gui = GUI(self)
2024-12-20 18:02:59 +01:00
if __name__ == "__main__":
wobuzz = Wobuzz()
sys.exit(wobuzz.qt_app.exec())