Commit 573d91f5d7fa31811a091885808c0426d3ff94f5

Authored by tatiana
1 parent 1931e603

FIX: Open project but (missing utils)

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
invesalius/data/slice_.py
@@ -27,11 +27,11 @@ from mask import Mask @@ -27,11 +27,11 @@ from mask import Mask
27 import style as st 27 import style as st
28 from project import Project 28 from project import Project
29 import session as ses 29 import session as ses
30 -from utils import Singleton 30 +import utils
31 31
32 32
33 class Slice(object): 33 class Slice(object):
34 - __metaclass__= Singleton 34 + __metaclass__= utils.Singleton
35 # Only one slice will be initialized per time (despite several viewers 35 # Only one slice will be initialized per time (despite several viewers
36 # show it from distinct perspectives). 36 # show it from distinct perspectives).
37 # Therefore, we use Singleton design pattern for implementing it. 37 # Therefore, we use Singleton design pattern for implementing it.