aboutsummaryrefslogtreecommitdiffstats
path: root/devscripts/pyinst.py
diff options
context:
space:
mode:
Diffstat (limited to 'devscripts/pyinst.py')
-rw-r--r--devscripts/pyinst.py2
1 files changed, 1 insertions, 1 deletions
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))