diff --git a/shaketune/graph_creators/__init__.py b/shaketune/graph_creators/__init__.py index dd175b2..f921996 100644 --- a/shaketune/graph_creators/__init__.py +++ b/shaketune/graph_creators/__init__.py @@ -11,7 +11,7 @@ def get_shaper_calibrate_module(): - if not os.environ.get('SHAKETUNE_IN_CLI') == '1': + if os.environ.get('SHAKETUNE_IN_CLI') != '1': from ... import shaper_calibrate else: shaper_calibrate = sys.modules['shaper_calibrate']