Fixed two small errors created by my last commit.
svn: r17789
This commit is contained in:
parent
38e3b655e8
commit
0ef1aa718e
@ -502,8 +502,8 @@ class EditExifMetadata(Gramplet):
|
|||||||
# Checks to make sure that ImageMagick is installed on
|
# Checks to make sure that ImageMagick is installed on
|
||||||
# this computer and the image is NOT a jpeg image...
|
# this computer and the image is NOT a jpeg image...
|
||||||
if MAGICK_FOUND_:
|
if MAGICK_FOUND_:
|
||||||
basename, extension = os.path.splitext(self.image_path)
|
basename, self.extension = os.path.splitext(self.image_path)
|
||||||
if extension not in [".jpeg", ".jpg", ".jfif"]:
|
if self.extension not in [".jpeg", ".jpg", ".jfif"]:
|
||||||
self.activate_buttons(["Convert"])
|
self.activate_buttons(["Convert"])
|
||||||
|
|
||||||
# displays the imge Exif metadata
|
# displays the imge Exif metadata
|
||||||
@ -1201,7 +1201,7 @@ class EditExifMetadata(Gramplet):
|
|||||||
"that various applications may have left in the image..."),
|
"that various applications may have left in the image..."),
|
||||||
_("Re- initialize"), self.__reinitialize_jpeg)
|
_("Re- initialize"), self.__reinitialize_jpeg)
|
||||||
|
|
||||||
def __reinitialize_jpeg(self, object):
|
def __reinitialize_jpeg(self):
|
||||||
"""
|
"""
|
||||||
*** -purejpg -- Delete all JPEG sections that aren't necessary for
|
*** -purejpg -- Delete all JPEG sections that aren't necessary for
|
||||||
rendering the image. Strips any metadata that various applications
|
rendering the image. Strips any metadata that various applications
|
||||||
|
Loading…
x
Reference in New Issue
Block a user