log_module/log_export.py
@@ -123,7 +123,9 @@ if not date: date = datetime.datetime.now().strftime("%Y-%m-%d") pos_list = [] with open("{}/logs/gp/l2/l2_process.{}.log".format(constant.get_path_prefix(), date), mode='r', path_ = "{}/logs/gp/l2/l2_process.{}.log".format(constant.get_path_prefix(), date) if os.path.exists(path_): with open(path_, mode='r', encoding="utf-8") as f: while True: line = f.readline()