mirror of
https://github.com/marcriera/ddgo-converter.git
synced 2025-04-19 10:29:29 +02:00
18 lines
521 B
Python
Executable file
18 lines
521 B
Python
Executable file
#!/usr/bin/env python
|
|
|
|
import sys
|
|
from PyQt5.QtWidgets import QApplication
|
|
from gui.main import MainWindow
|
|
from handlers.config import ConfigHandler
|
|
from handlers.gamepad import GamepadHandler
|
|
|
|
class App(QApplication):
|
|
def __init__(self, sys_argv):
|
|
super(App, self).__init__(sys_argv)
|
|
self.config = ConfigHandler("config.json")
|
|
self.main_view = MainWindow(GamepadHandler, self.config)
|
|
self.main_view.show()
|
|
|
|
if __name__ == '__main__':
|
|
app = App(sys.argv)
|
|
sys.exit(app.exec_())
|