Bugfixes and publish 2021.4.1post1

This commit is contained in:
2021-03-14 15:11:36 +01:00
parent 4390fea084
commit b52930daa5
29 changed files with 57 additions and 56 deletions

View File

@@ -15,7 +15,7 @@ __title__ = 'cpl_cli.configuration'
__author__ = 'Sven Heidemann'
__license__ = 'MIT'
__copyright__ = 'Copyright (c) 2020 - 2021 sh-edraft.de'
__version__ = '2021.4.1'
__version__ = '2021.4.1.post1'
from collections import namedtuple
@@ -28,4 +28,4 @@ from .version_settings import VersionSettings
from .version_settings_name_enum import VersionSettingsNameEnum
VersionInfo = namedtuple('VersionInfo', 'major minor micro')
version_info = VersionInfo(major='2021', minor='04', micro='01')
version_info = VersionInfo(major='2021', minor='04', micro='01-1')

View File

@@ -111,11 +111,12 @@ class ProjectSettings(ConfigurationModelABC):
if ProjectSettingsNameEnum.python_path.value in settings:
path = settings[ProjectSettingsNameEnum.python_path.value]
if not os.path.isfile(path) or not os.path.islink(path):
if path != '':
Error.warn(f'{ProjectSettingsNameEnum.python_path.value} not found')
path = sys.executable
Error.warn(f'{ProjectSettingsNameEnum.python_path.value} not found')
else:
path = sys.executable
Error.warn(f'{ProjectSettingsNameEnum.python_path.value} not found')
self._python_path = path