Changed play to tracking

This commit is contained in:
Dale Muccignat 2022-11-29 13:45:44 +11:00
parent f33cb7b984
commit f6fcf9b852

View file

@ -50,7 +50,7 @@ class Module(core.module.Module):
self.__status = "Paused" self.__status = "Paused"
else: else:
util.cli.execute("watson start " + self.__project) util.cli.execute("watson start " + self.__project)
self.__status = "Play" self.__status = "Tracking"
self.__tracking = not self.__tracking self.__tracking = not self.__tracking
def change_project(self, event): def change_project(self, event):
@ -82,7 +82,7 @@ class Module(core.module.Module):
self.__tracking = True self.__tracking = True
m = re.search(r"Project (.+) started", output) m = re.search(r"Project (.+) started", output)
self.__project = m.group(1) self.__project = m.group(1)
self.__status = "Play" self.__status = "Tracking"
self.get_list() self.get_list()
def state(self, widget): def state(self, widget):