Fixed typo

This commit is contained in:
LazoCoder 2017-05-09 09:13:35 -04:00
parent 44d471826d
commit abd639c8b9
3 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
tell application "iTerm"
tell current session of current window
set background image to "/Users/Laki/GitHub/Pokemon-Terminal/./Images/Generation II - Johto/155.png"
set background image to "/Users/Laki/GitHub/Pokemon-Terminal/./Images/Generation I - Kanto/025.png"
end tell
end tell

View file

@ -1,5 +1,5 @@
tell application "System Events"
tell current desktop
set picture to "/Users/Laki/GitHub/Pokemon-Terminal/./Images/Generation I - Kanto/025.png"
set picture to "/Users/Laki/GitHub/Pokemon-Terminal/./Images/Generation I - Kanto/093.png"
end tell
end tell

View file

@ -125,7 +125,7 @@ def change_wallpaper(db, arg):
else: # If not found in the database, try to give suggestions.
suggestions = db.names_with_infix(arg)
if len(suggestions) == 0:
print("No such Pokemon was found and no suggestion are available.")
print("No such Pokemon was found and no suggestions are available.")
elif len(suggestions) == 1:
scripter.change_wallpaper(suggestions[0])
print("Did you mean " + suggestions[0].get_name().capitalize() + "?")