From d6c21ba3cb34fcb05463f83e97c399073bff150d Mon Sep 17 00:00:00 2001 From: faulty Date: Sun, 18 Dec 2022 23:49:48 +0100 Subject: [PATCH] Add git pull acknowledge statement --- lib/docker.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/docker.py b/lib/docker.py index 87967a9..08ad428 100644 --- a/lib/docker.py +++ b/lib/docker.py @@ -15,6 +15,7 @@ class handler(BaseHTTPRequestHandler): subprocess.call(['git', 'pull']) with open('./lib/deploy.sh') as f: self.wfile.write(bytes(f.read(), 'utf-8')) + self.wfile.write(bytes("# Git pull: " + str(time.time() - os.path.getmtime('./lib/deploy.sh')) + " seconds ago", 'utf-8')) def main():