Bugfixes and publish 2021.4.1post1
This commit is contained in:
@@ -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')
|
||||
|
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user