From a378db0ab6dcdf3380119a5e4c68f1c7efae7f99 Mon Sep 17 00:00:00 2001 From: Dasemu <24dasemu@gmail.com> Date: Wed, 6 Oct 2021 22:23:57 +0200 Subject: [PATCH] Update Jarvis2_4windows.py --- Jarvis2_4windows.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jarvis2_4windows.py b/Jarvis2_4windows.py index 5ae7edc..22428fd 100644 --- a/Jarvis2_4windows.py +++ b/Jarvis2_4windows.py @@ -20,7 +20,7 @@ voices = engine.getProperty("voices") engine.setProperty("voice", voices[0].id) -def search_engine_selector(): # this funcition checks wich search engine is selected in config file. +def search_engine_selector(): # this funcition checks which search engine is selected in config file. if config['DEFAULT']['search_engine'] == 'Google': return "https://www.google.com" elif config['DEFAULT']['search_engine'] == 'Bing': @@ -212,6 +212,6 @@ def main(): if os.path.isfile('./config.ini'): #Checks if config.ini exists. config = configparser.ConfigParser() #if exists loads library. config.read('config.ini') #and also the file. - main() #Then launchs the main program + main() #Then launches the main program else: - print('You need a config.ini file. Check the documentation in the Github Repository.') #if it doesn't exist it drops an error message and exits. \ No newline at end of file + print('You need a config.ini file. Check the documentation in the Github Repository.') #if it doesn't exist it drops an error message and exits.