fix: version, ensure no newlines are present

This commit is contained in:
RhodeCode Admin 2024-10-21 15:42:29 +02:00
parent 7a7a07d0b1
commit 35a099d995

View file

@ -30,7 +30,7 @@ log.debug(f'{now} Starting RhodeCode imports...')
VERSION = tuple(open(os.path.join(
os.path.dirname(__file__), 'VERSION')).read().split('.'))
os.path.dirname(__file__), 'VERSION')).read().strip().split('.'))
BACKENDS = collections.OrderedDict()