Skip to content

Commit

Permalink
Fix a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jhi2 committed Jul 3, 2024
1 parent 6630141 commit c15a1fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions PyUI3/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,14 @@
from win32more.Microsoft.UI.Xaml import Window
from win32more.xaml import XamlApplication
from win32more.Microsoft.UI.Xaml.Media import MicaBackdrop
class ApplicationWindow(self):
def __init__(self,appargs):
class ApplicationWindow():
def __init__(self,appargs,winargs):
self.roster = []
class app(XamlApplication):
def __init__(self):
super().__init__(appargs)
def OnLaunched(self):
self.win = Window()
self.win = Window(winargs)
self.application = app()
def add(self, item):
self.roster.append(item)
Expand Down

0 comments on commit c15a1fc

Please sign in to comment.