Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d7300f8

Browse files
committed
__modified(): Make sure `rgbs' is a tuple
1 parent f67a50c commit d7300f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Tools/pynche/TypeinViewer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def __validate(self, text):
9393
def __modified(self):
9494
# these are guaranteed to be valid, right?
9595
vals = map(lambda x: x.get(), (self.__x, self.__y, self.__z))
96-
rgbs = map(self.__str_to_int, vals)
96+
rgbs = tuple(map(self.__str_to_int, vals))
9797
valids = map(self.__validate, vals)
9898
delegate = self['delegate']
9999
if (None not in rgbs) and (-1 not in valids) and delegate:

0 commit comments

Comments
 (0)