diff --git a/headphones/logger.py b/headphones/logger.py index 9a6bc6ec..5c22097d 100644 --- a/headphones/logger.py +++ b/headphones/logger.py @@ -63,7 +63,7 @@ def listener(): if queue is None: try: queue = multiprocessing.Queue() - except IOError as e: + except OSError as e: queue = False # Some machines don't have access to /dev/shm. See