Commit 789863a95929bc6849359dc8f3d450ffd35c2c0f
1 parent
9eccb156
Exists in
master
and in
68 other branches
STL: Removed comments / duble imports
Showing
2 changed files
with
2 additions
and
4 deletions
Show diff stats
invesalius/invesalius.py
invesalius/session.py
... | ... | @@ -2,12 +2,11 @@ import ConfigParser |
2 | 2 | import os |
3 | 3 | from threading import Thread |
4 | 4 | import time |
5 | + | |
5 | 6 | import wx.lib.pubsub as ps |
6 | 7 | |
7 | 8 | from utils import Singleton, debug |
8 | 9 | |
9 | -import wx.lib.pubsub as ps | |
10 | - | |
11 | 10 | class Session(object): |
12 | 11 | # Only one session will be initialized per time. Therefore, we use |
13 | 12 | # Singleton design pattern for implementing it |
... | ... | @@ -18,7 +17,6 @@ class Session(object): |
18 | 17 | |
19 | 18 | ws = self.ws = WriteSession(self) |
20 | 19 | ws.start() |
21 | - | |
22 | 20 | ps.Publisher().subscribe(self.StopRecording, "Stop Config Recording") |
23 | 21 | |
24 | 22 | def CreateItens(self): | ... | ... |