diff options
Diffstat (limited to 'file.py')
-rw-r--r-- | file.py | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -0,0 +1,8 @@ +#/bin/python3 + +from config import * +import commands + +def log_write(status): + with open(LOG_PATH_FILE, 'a') as f: + f.write("{} {}\n".format(commands.date(), status)) |