From c6c27ce680d69a0eca8f14fd360ffdecae642a06 Mon Sep 17 00:00:00 2001 From: minoplhy Date: Mon, 15 Nov 2021 08:51:05 +0700 Subject: [PATCH] version : add addition --- version.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/version.py b/version.py index 4fec546..926abbf 100644 --- a/version.py +++ b/version.py @@ -5,7 +5,7 @@ import pytz UTC = pytz.utc date = datetime.datetime.now(UTC) -def build(incoming): +def build(incoming, addition=""): with open(incoming, 'w') as f: - f.write('\n'.join([str(date)])) + f.write('\n'.join([str(date)]+addition)) f.close()