Skip to content

Commit e611756

Browse files
luipirnyalldawson
authored andcommitted
fix error because constant is not iterable
1 parent 95a4c00 commit e611756

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/plugins/processing/algs/qgis/ui/RasterCalculatorWidgets.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ def setValue(self, value):
235235
self.widget.setValue(value)
236236

237237
def value(self):
238-
if self.dialogType in DIALOG_STANDARD:
238+
if self.dialogType == DIALOG_STANDARD:
239239
return self.widget.value()
240240
elif self.dialogType == DIALOG_BATCH:
241241
return self.widget.text()

0 commit comments

Comments
 (0)