Commit 8839f26c10bf2d6e286cdae505ba91c18bebde3c
1 parent
0229af60
Exists in
master
Removed some debug prints
Showing
2 changed files
with
0 additions
and
5 deletions
Show diff stats
app.py
invesalius/project.py
| ... | ... | @@ -208,9 +208,6 @@ class Project(object): |
| 208 | 208 | filename_tmp = os.path.join(dir_temp, u'matrix.dat') |
| 209 | 209 | filelist = {} |
| 210 | 210 | |
| 211 | - print type(dir_temp), type(filename) | |
| 212 | - print filename.encode('utf8'), dir_.encode('utf8'), type(filename), type(dir_) | |
| 213 | - | |
| 214 | 211 | project = { |
| 215 | 212 | # Format info |
| 216 | 213 | "format_version": 1, |
| ... | ... | @@ -351,7 +348,6 @@ def Compress(folder, filename, filelist): |
| 351 | 348 | temp_inv3 = temp_inv3.decode(const.FS_ENCODE) |
| 352 | 349 | #os.chdir(tmpdir) |
| 353 | 350 | #file_list = glob.glob(os.path.join(tmpdir_,"*")) |
| 354 | - print "Tar file", temp_inv3, type(temp_inv3), filename.encode('utf8'), type(filename) | |
| 355 | 351 | tar = tarfile.open(temp_inv3, "w:gz") |
| 356 | 352 | for name in filelist: |
| 357 | 353 | tar.add(name, arcname=os.path.join(tmpdir_, filelist[name])) | ... | ... |