Make correct_iplot use real_bool

This commit is contained in:
Darius Arnold 2019-04-09 16:55:11 +02:00
parent 242d8e3b1d
commit 8a4be00ac6

View File

@ -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