fixed typo english

This commit is contained in:
Ahmedur Rahman Shovon 2017-08-18 09:08:36 +06:00
parent 505daa0ed6
commit 1028ac5043

View File

@ -4,8 +4,8 @@ import os, sys
def load_words():
try:
filename = os.path.dirname(sys.argv[0])+"\\"+"words_dictionary.json"
with open(filename,"r") as enlish_dictionary:
valid_words = json.load(enlish_dictionary)
with open(filename,"r") as english_dictionary:
valid_words = json.load(english_dictionary)
return valid_words
except Exception as e:
return str(e)