Changed play to tracking
This commit is contained in:
parent
f33cb7b984
commit
f6fcf9b852
1 changed files with 2 additions and 2 deletions
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue