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 | 149 | |
| 150 | 150 | |
| 151 | 151 | def ShowDialogCloseProject(self): |
| 152 | - debug("ShowDialogCloseProject") | |
| 153 | 152 | session = ses.Session() |
| 154 | 153 | st = session.project_status |
| 155 | 154 | if st == const.PROJ_CLOSE: |
| ... | ... | @@ -157,7 +156,7 @@ class Controller(): |
| 157 | 156 | try: |
| 158 | 157 | filename = session.project_path[1] |
| 159 | 158 | except(AttributeError): |
| 160 | - print "Project doesn't exist" | |
| 159 | + debug("Project doesn't exist") | |
| 161 | 160 | filename = None |
| 162 | 161 | |
| 163 | 162 | if (filename): | ... | ... |