Skip to content

Commit

Permalink
accept code formatting suggestion
Browse files Browse the repository at this point in the history
Co-authored-by: Andrea Giudiceandrea <andreaerdna@libero.it>
  • Loading branch information
AlisterH and agiudiceandrea committed Nov 22, 2022
1 parent 3ea934a commit a53a8fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/gdal/extractprojection.py
Expand Up @@ -104,7 +104,7 @@ def processAlgorithm(self, parameters, context, feedback):
outFileName = inFileName[0]
# this is not a good idea as it won't work with an extension like .jpeg
# outFileExt = '.' + inFileName[1][1:4:2] + 'w'
if ( len(inFileName[1]) < 4 ):
if (len(inFileName[1]) < 4):
outFileExt = '.wld'
else:
outFileExt = inFileName[1][0:2] + inFileName[1][-1] + 'w'
Expand Down

0 comments on commit a53a8fe

Please sign in to comment.