aboutsummaryrefslogtreecommitdiff
path: root/file.py
diff options
context:
space:
mode:
Diffstat (limited to 'file.py')
-rw-r--r--file.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/file.py b/file.py
new file mode 100644
index 0000000..efad937
--- /dev/null
+++ b/file.py
@@ -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))