Skip to content

Commit

Permalink
Merge pull request #40 from c-magyar/master
Browse files Browse the repository at this point in the history
Corrected lowercase naming issue in cropgtk.py
  • Loading branch information
jepler authored Apr 30, 2017
2 parents c001e92 + bf5f8d5 commit bd1fbfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cropgtk.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ def output_name(self, image_name, image_type):
image_name = os.path.abspath(image_name)
d = os.path.dirname(image_name)
i = os.path.basename(image_name)
j = os.path.splitext(i)[0].lower()
j = os.path.splitext(i)[0]
if j.endswith('-crop'): j += os.path.splitext(i)[1]
else: j += "-crop" + os.path.splitext(i)[1]
if os.access(d, os.W_OK): return os.path.join(d, j)
Expand Down

0 comments on commit bd1fbfe

Please sign in to comment.