Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix error because constant is not iterable
  • Loading branch information
luipir authored and nyalldawson committed Sep 7, 2018
1 parent 95a4c00 commit e611756
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -235,7 +235,7 @@ def setValue(self, value):
self.widget.setValue(value)

def value(self):
if self.dialogType in DIALOG_STANDARD:
if self.dialogType == DIALOG_STANDARD:
return self.widget.value()
elif self.dialogType == DIALOG_BATCH:
return self.widget.text()
Expand Down

0 comments on commit e611756

Please sign in to comment.