Typo
This commit is contained in:
parent
37ad383be3
commit
d3c2a104db
@ -20,6 +20,12 @@ class Session:
|
|||||||
|
|
||||||
self._run_activities()
|
self._run_activities()
|
||||||
|
|
||||||
|
try:
|
||||||
|
gtk.main()
|
||||||
|
except KeyboardInterrupt:
|
||||||
|
print 'Ctrl+C pressed, exiting...'
|
||||||
|
self.shutdown()
|
||||||
|
|
||||||
def _run_activities(self):
|
def _run_activities(self):
|
||||||
base_dirs = []
|
base_dirs = []
|
||||||
|
|
||||||
@ -49,12 +55,6 @@ class Session:
|
|||||||
args = [ 'python', '-m', activity ]
|
args = [ 'python', '-m', activity ]
|
||||||
pid = os.spawnvp(os.P_NOWAIT, 'python', args)
|
pid = os.spawnvp(os.P_NOWAIT, 'python', args)
|
||||||
self._activity_processes[activity] = pid
|
self._activity_processes[activity] = pid
|
||||||
|
|
||||||
try:
|
|
||||||
gtk.main()
|
|
||||||
except KeyboardInterrupt:
|
|
||||||
print 'Ctrl+C pressed, exiting...'
|
|
||||||
self.shutdown()
|
|
||||||
|
|
||||||
def _shell_close_cb(self, shell):
|
def _shell_close_cb(self, shell):
|
||||||
self.shutdown()
|
self.shutdown()
|
||||||
|
Loading…
Reference in New Issue
Block a user