2021.4.1 #11

Merged
edraft merged 172 commits from 2021.04.01 into 2021.04 2021-03-21 20:04:24 +01:00
2 changed files with 3 additions and 2 deletions
Showing only changes of commit dffa1ac703 - Show all commits

View File

@ -1,9 +1,9 @@
import os
import sys
import time
from collections import Callable
from typing import Union, Optional
import colorama
import pyfiglet
from pynput import keyboard
from pynput.keyboard import Key
@ -20,6 +20,7 @@ class Console:
"""
Useful functions for handling with input and output
"""
colorama.init()
_is_first_write = True
_background_color: BackgroundColorEnum = BackgroundColorEnum.default

View File

@ -111,7 +111,7 @@ 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 != '':
if path != '' and path is not None:
Error.warn(f'{ProjectSettingsNameEnum.python_path.value} not found')
path = sys.executable