mirror of
https://github.com/LazoCoder/Pokemon-Terminal
synced 2024-11-23 20:33:08 +00:00
Fixed typo
This commit is contained in:
parent
44d471826d
commit
abd639c8b9
3 changed files with 3 additions and 3 deletions
|
@ -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
|
|
@ -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
|
2
main.py
2
main.py
|
@ -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() + "?")
|
||||
|
|
Loading…
Reference in a new issue