clean up bin/tabletracker a bit
This commit is contained in:
parent
3f9c1585fb
commit
152a84d873
|
@ -4,12 +4,14 @@ import npyscreen
|
|||
|
||||
from npytabletracker.ui import TableTrackerDisplay
|
||||
|
||||
|
||||
class TableTrackerApplication(npyscreen.NPSAppManaged):
|
||||
"""Combine the pieces of the application."""
|
||||
|
||||
def onStart(self):
|
||||
"""Link necessary UI elements and state management and whatnot."""
|
||||
self.addForm('MAIN', TableTrackerDisplay)
|
||||
|
||||
|
||||
|
||||
app = TableTrackerApplication()
|
||||
app.run()
|
||||
|
|
Loading…
Reference in New Issue