Skip to content

Commit

Permalink
fix travis?
Browse files Browse the repository at this point in the history
  • Loading branch information
ghtmtt committed Jul 11, 2018
1 parent 22d7b6c commit eca6691
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/qgis/RasterSampling.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def processAlgorithm(self, parameters, context, feedback):
for i in sampled_rasters:
for b in range(i.bandCount()):
raster_fields.append(QgsField(
i.name() + str('_{}'.format(b + 1)), QVariant.Double)
os.path.splitext(os.path.basename(i.source()))[0] + str('_{}'.format(b + 1)), QVariant.Double)
)

# combine all the vector fields
Expand Down

0 comments on commit eca6691

Please sign in to comment.