From 3dd264bf423543e8d3d5394a38cd79007f1a59f8 Mon Sep 17 00:00:00 2001 From: shirt-dev <2660574+shirt-dev@users.noreply.github.com> Date: Tue, 9 Feb 2021 07:34:00 -0500 Subject: #64 Implement self updater Co-authored-by: shirtjs <2660574+shirtjs@users.noreply.github.com> (shirt-dev) Co-authored-by: pukkandan --- devscripts/pyinst.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'devscripts/pyinst.py') diff --git a/devscripts/pyinst.py b/devscripts/pyinst.py index b663d4b2e..083cec903 100644 --- a/devscripts/pyinst.py +++ b/devscripts/pyinst.py @@ -27,7 +27,7 @@ os.chdir(root_dir) exec(compile(open('youtube_dlc/version.py').read(), 'youtube_dlc/version.py', 'exec')) VERSION = locals()['__version__'] -VERSION_LIST = VERSION.replace('-', '.').split('.') +VERSION_LIST = VERSION.split('.') VERSION_LIST = list(map(int, VERSION_LIST)) + [0] * (4 - len(VERSION_LIST)) print('Version: %s%s' % (VERSION, _x86)) -- cgit v1.2.3