add footer and support showing version/commit

This commit is contained in:
2022-11-25 15:01:13 -05:00
parent 00c4bc960e
commit ac8bed1bad
5 changed files with 18 additions and 4 deletions

View File

@@ -2,4 +2,9 @@ import time
from datetime import datetime, date
from zoneinfo import ZoneInfo
currDay = datetime.now()
currDay = currDay.strftime('%m-%d-%Y')
currDay = currDay.strftime('%m-%d-%Y')
with open('__version__','r') as file:
currVersion = file.read()
with open('__commit__','r') as file:
currCommit = file.read()