Changed import logic for app

This commit is contained in:
itdominator 2022-03-03 16:37:29 -06:00
parent 1e2fe89126
commit 976318b958
2 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ gi.require_version('Gtk', '3.0')
from gi.repository import Gtk
# Application imports
from main import Main
from app import Application
if __name__ == "__main__":
@ -33,7 +33,7 @@ if __name__ == "__main__":
# Read arguments (If any...)
args, unknownargs = parser.parse_known_args()
Main(args, unknownargs)
Application(args, unknownargs)
Gtk.main()
except Exception as e:
traceback.print_exc()

View File

@ -11,7 +11,7 @@ from __builtins__ import EventSystem
class Main(EventSystem):
class Application(EventSystem):
''' Create Settings and Controller classes. Bind signal to Builder. Inherit from Builtins to bind global methods and classes.'''
def __init__(self, args, unknownargs):