From 17e41b22e911ad9ea474320550ce4a4f37397f6f Mon Sep 17 00:00:00 2001 From: nanoric Date: Fri, 14 Jun 2019 15:34:40 +0800 Subject: [PATCH] [Mod] make flake8 happy --- examples/no_ui/run.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/no_ui/run.py b/examples/no_ui/run.py index c5e30823..29cdbcd4 100644 --- a/examples/no_ui/run.py +++ b/examples/no_ui/run.py @@ -85,9 +85,9 @@ def run_parent(): # Check whether in trading period if ( - (current_time >= DAY_START and current_time <= DAY_END) or - (current_time >= NIGHT_START) or - (current_time <= NIGHT_END) + (current_time >= DAY_START and current_time <= DAY_END) + or (current_time >= NIGHT_START) + or (current_time <= NIGHT_END) ): trading = True