Make correct_iplot use real_bool
This commit is contained in:
1 parent
242d8e3b1d
commit
8a4be00ac6
1 file changed
+1
-1
@@ -1222,7 +1222,7 @@ def correct_iplot(iplot):
|
||||
try:
|
||||
iplot = int(iplot)
|
||||
except ValueError:
|
||||
if iplot is True or iplot == 'True':
|
||||
if real_Bool(iplot):
|
||||
iplot = 2
|
||||
else:
|
||||
iplot = 0
|
||||
|
||||
Reference in new issue
Block a user