File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -16,10 +16,12 @@ def __init__(self, **kwargs):
1616 self .mode = config .get ('mode' ) or 'editor'
1717 self .files = config .get ('files' ) or './tracks'
1818 self .project = config .get ('project' ) or 'project.xml'
19+ self .start_paused = False
1920
2021 self .controller = TimeController (config .get ('rps' , 24 ))
2122 if self .mode == 'editor' :
2223 self .rocket = Rocket .from_socket (self .controller , track_path = self .files )
24+ self .start_paused = True
2325 elif self .mode == 'project' :
2426 self .rocket = Rocket .from_project_file (self .controller , self .project )
2527 elif self .mode == 'files' :
@@ -41,7 +43,8 @@ def __init__(self, **kwargs):
4143
4244 def start (self ):
4345 """Start the timer"""
44- self .rocket .start ()
46+ if not self .start_paused :
47+ self .rocket .start ()
4548
4649 def get_time (self ):
4750 """Get the current time in seconds"""
You can’t perform that action at this time.
0 commit comments