diff --git a/src/main.py b/src/main.py index 673b1307..a5bd9400 100644 --- a/src/main.py +++ b/src/main.py @@ -1,5 +1,5 @@ -from bitmessagemain import main # import main method to run first for thread start +from bitmessagemain import main +# import main method to run first for thread start. if __name__ == '__main__': - """python main will call for bitmessage main to start threads.""" main() diff --git a/src/mpybit.py b/src/mpybit.py index 050e3013..5d2afeec 100644 --- a/src/mpybit.py +++ b/src/mpybit.py @@ -92,12 +92,16 @@ class LoginScreen(BoxLayout): return None def sayexit(self): + """This method will exit the application screen.""" print("**************************EXITING FROM APPLICATION*****************************") shutdown.doCleanShutdown() Window.close() class MainApp(App): - + """The App class is the base for creating Kivy applications + Think of it as your main entry point into the Kivy run loop.""" def build(self): + """To initialize an app with a widget tree, we need to override the build() + method in our app class and return the widget tree which we have constructed..""" return LoginScreen()