Skip to content

Commit

Permalink
Merge pull request #2005 from ginohagad/patch-1
Browse files Browse the repository at this point in the history
Changed the variable "wav" to "fullname".
  • Loading branch information
Dan Lawrence committed Jul 10, 2020
2 parents 3909bbc + dd48590 commit 071955e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reST/tut/ChimpLineByLine.rst
Expand Up @@ -144,7 +144,7 @@ that color for the colorkey. ::
try:
sound = pygame.mixer.Sound(fullname)
except pygame.error as message:
print('Cannot load sound:', wav)
print('Cannot load sound:', fullname)
raise SystemExit(message)
return sound

Expand Down

0 comments on commit 071955e

Please sign in to comment.