Add git pull acknowledge statement
This commit is contained in:
parent
89750c97e7
commit
d6c21ba3cb
1 changed files with 1 additions and 0 deletions
|
@ -15,6 +15,7 @@ class handler(BaseHTTPRequestHandler):
|
||||||
subprocess.call(['git', 'pull'])
|
subprocess.call(['git', 'pull'])
|
||||||
with open('./lib/deploy.sh') as f:
|
with open('./lib/deploy.sh') as f:
|
||||||
self.wfile.write(bytes(f.read(), 'utf-8'))
|
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():
|
def main():
|
||||||
|
|
Loading…
Reference in a new issue