From 66ac8333f9e7c948774f0e73aa1cf92291733fba Mon Sep 17 00:00:00 2001 From: sp Date: Mon, 10 Jul 2023 14:16:29 +0200 Subject: [PATCH] added LOG method --- run_simple.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/run_simple.py b/run_simple.py index 1d65e42..a93af72 100644 --- a/run_simple.py +++ b/run_simple.py @@ -6,6 +6,14 @@ from os.path import isfile, join, getctime import argparse from gym_minigrid.policyRepairEnv import State +LOG_MODE = True + +# ........................................................................... # + +def LOG(text : str) -> None: + if (LOG_MODE): + print(text) + def main(): LOG("> Start Application ...")