From 1379ff7845bdfc24a5cb6ef4b107f01840eaa8c8 Mon Sep 17 00:00:00 2001 From: Bas Stottelaar Date: Sat, 20 Sep 2014 13:18:14 +0200 Subject: [PATCH] Oops, it should be an OSError instead of IOError --- headphones/logger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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