fix Missing module docstring issue with other pep8
This commit is contained in:
parent
b4a0d8ad37
commit
d7efd746f2
|
@ -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__':
|
if __name__ == '__main__':
|
||||||
"""python main will call for bitmessage main to start threads."""
|
|
||||||
main()
|
main()
|
||||||
|
|
|
@ -92,12 +92,16 @@ class LoginScreen(BoxLayout):
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def sayexit(self):
|
def sayexit(self):
|
||||||
|
"""This method will exit the application screen."""
|
||||||
print("**************************EXITING FROM APPLICATION*****************************")
|
print("**************************EXITING FROM APPLICATION*****************************")
|
||||||
shutdown.doCleanShutdown()
|
shutdown.doCleanShutdown()
|
||||||
Window.close()
|
Window.close()
|
||||||
|
|
||||||
|
|
||||||
class MainApp(App):
|
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):
|
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()
|
return LoginScreen()
|
||||||
|
|
Reference in New Issue
Block a user