Dropping unnecessary debug

This commit is contained in:
Paweł Jastrzębski
2014-01-16 13:56:37 +01:00
parent f12361e7cf
commit 0f44629273
3 changed files with 1 additions and 6 deletions
+1 -3
View File
@@ -414,8 +414,6 @@ def fileImgProcess(work):
applyImgOptimization(img2, opt, img)
img2.saveToDir(dirpath, opt.forcepng, opt.forcecolor, True)
except Exception:
import traceback
traceback.print_tb(sys.exc_info()[2])
return str(sys.exc_info()[1])
@@ -1081,4 +1079,4 @@ def checkOptions():
(int(X*1.5), int(Y*1.5)))
image.ProfileData.Profiles["Custom"] = newProfile
options.profile = "Custom"
options.profileData = image.ProfileData.Profiles[options.profile]
options.profileData = image.ProfileData.Profiles[options.profile]