From e92d92deec85bc85f27975bd637a1debe77ab7fd Mon Sep 17 00:00:00 2001 From: Ambulance Clerc Date: Mon, 6 Jun 2022 11:07:30 +0200 Subject: [PATCH] =?UTF-8?q?Ajout=20note=20version=20d=C3=A9port=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 4 +++- version | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 version diff --git a/main.py b/main.py index bdb736e..c916e9a 100644 --- a/main.py +++ b/main.py @@ -19,7 +19,9 @@ from threading import * from class_invoices import * from class_addresses import * -VERSION = "202200602 - 1700" +fs = open("./version", "r") +VERSION = fs.read() +print(VERSION) #test master 2 src_dir = os.getenv('APPDATA') + "\Attrib2Biz\src" diff --git a/version b/version new file mode 100644 index 0000000..d9b1d28 --- /dev/null +++ b/version @@ -0,0 +1 @@ +202200606 - 1107 \ No newline at end of file