Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ or
try:
import launchpad
except ImportError:
sys.exit("error loading lauchpad.py")
sys.exit("error loading launchpad.py")

#### Checks for a local version first (file in same folder), uses the installed one secondary

Expand All @@ -437,7 +437,7 @@ or
try:
import launchpad_py
except ImportError:
sys.exit("error loading lauchpad.py")
sys.exit("error loading launchpad.py")


---
Expand Down Expand Up @@ -1134,7 +1134,7 @@ Functions requiring a color code have a "...ByCode" naming style.

Notice that it's absolutely safe to query for an "Pro" or "Mk2" from all classes, e.g.:

lp = lauchpad.Launchpad() # Launchpad "Mk1" or "Classic" class
lp = launchpad.Launchpad() # Launchpad "Mk1" or "Classic" class
if lp.Check( 0, "Pro" ): # check for "Pro"
lp = launchpad.LaunchpadPro() # "reload" the new class for the "Pro"
lp.Open() # equals lp.Open( 0, "Pro" )
Expand Down