Commit 22ac2c8f6558d2d828cf21d0d646395e24da1068
1 parent
dba9e5a4
Exists in
master
and in
68 other branches
STL: print -> debug
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
invesalius/control.py
@@ -149,7 +149,6 @@ class Controller(): | @@ -149,7 +149,6 @@ class Controller(): | ||
149 | 149 | ||
150 | 150 | ||
151 | def ShowDialogCloseProject(self): | 151 | def ShowDialogCloseProject(self): |
152 | - debug("ShowDialogCloseProject") | ||
153 | session = ses.Session() | 152 | session = ses.Session() |
154 | st = session.project_status | 153 | st = session.project_status |
155 | if st == const.PROJ_CLOSE: | 154 | if st == const.PROJ_CLOSE: |
@@ -157,7 +156,7 @@ class Controller(): | @@ -157,7 +156,7 @@ class Controller(): | ||
157 | try: | 156 | try: |
158 | filename = session.project_path[1] | 157 | filename = session.project_path[1] |
159 | except(AttributeError): | 158 | except(AttributeError): |
160 | - print "Project doesn't exist" | 159 | + debug("Project doesn't exist") |
161 | filename = None | 160 | filename = None |
162 | 161 | ||
163 | if (filename): | 162 | if (filename): |