diff options
author | neodarz <neodarz@neodarz.net> | 2019-09-28 19:30:41 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2019-09-28 19:30:41 +0200 |
commit | d70390197ee3e06ee1fecbc14d1ed48ba4040c94 (patch) | |
tree | 325267c8d64ed2d7282d1d3166b0a651b9594ddc /file.py | |
download | pykeepalive-master.tar.xz pykeepalive-master.zip |
Diffstat (limited to '')
-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)) |