From 8a4be00ac636ff7a845ff745c28a323a84bde1a4 Mon Sep 17 00:00:00 2001 From: Darius Arnold Date: Tue, 9 Apr 2019 16:55:11 +0200 Subject: [PATCH] Make correct_iplot use real_bool --- pylot/core/util/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylot/core/util/utils.py b/pylot/core/util/utils.py index 0183f5e4..b83316d9 100644 --- a/pylot/core/util/utils.py +++ b/pylot/core/util/utils.py @@ -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