diff options
Diffstat (limited to 'display/snd_pygame.py')
-rw-r--r-- | display/snd_pygame.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/display/snd_pygame.py b/display/snd_pygame.py index e1a1455..3193775 100644 --- a/display/snd_pygame.py +++ b/display/snd_pygame.py @@ -1,5 +1,5 @@ import sys -from modes import musichtmloptiontext as htmloptionstext +from .modes import musichtmloptiontext as htmloptionstext from pygame.locals import * import pygame.mixer @@ -16,8 +16,8 @@ class Sound: def __init__(self): try: pygame.mixer.init() - except pygame.error, e: - print >> sys.stderr, "sound disabled: %s" % str(e) + except pygame.error as e: + print("sound disabled: %s" % str(e), file=sys.stderr) else: self.has_sound = 1 try: |