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
|
from npytabletracker.ui import TableTrackerDisplay
|
||||||
|
|
||||||
|
|
||||||
class TableTrackerApplication(npyscreen.NPSAppManaged):
|
class TableTrackerApplication(npyscreen.NPSAppManaged):
|
||||||
"""Combine the pieces of the application."""
|
"""Combine the pieces of the application."""
|
||||||
|
|
||||||
def onStart(self):
|
def onStart(self):
|
||||||
"""Link necessary UI elements and state management and whatnot."""
|
"""Link necessary UI elements and state management and whatnot."""
|
||||||
self.addForm('MAIN', TableTrackerDisplay)
|
self.addForm('MAIN', TableTrackerDisplay)
|
||||||
|
|
||||||
|
|
||||||
app = TableTrackerApplication()
|
app = TableTrackerApplication()
|
||||||
app.run()
|
app.run()
|
||||||
|
Loading…
Reference in New Issue
Block a user