From 3f7300663d708551509bacd8e94e4ce1287b4407 Mon Sep 17 00:00:00 2001 From: sTiKyt Date: Tue, 9 Jun 2020 08:03:08 +0300 Subject: [PATCH] Added doc string for log_writer --- Defs/ActionManager/simple_informant.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Defs/ActionManager/simple_informant.py b/Defs/ActionManager/simple_informant.py index e0e04e6..dc6136b 100644 --- a/Defs/ActionManager/simple_informant.py +++ b/Defs/ActionManager/simple_informant.py @@ -163,6 +163,11 @@ def credentials_collector(): creds.close() def log_writer(ctx): # Writing log + """I have no idea what it does, someone does, so if you are reading this - explain wtf is this method... + + Args: + ctx ([type]): [description] + """ logFile = open("log.txt", "w") logFile.write(ctx.replace(default_palette[0], "").replace(default_palette[1], "").replace(default_palette[2], "").replace(default_palette[3], "").replace(default_palette[4], "") + "\n") print(ctx)