From b728182025874ba4293a7a4405fd61a3fdaa4da2 Mon Sep 17 00:00:00 2001 From: Matthias Geier Date: Mon, 19 Dec 2016 10:10:16 +0100 Subject: Examples: Remove unneeded pair of parentheses --- examples/play_long_file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/play_long_file.py') diff --git a/examples/play_long_file.py b/examples/play_long_file.py index cd16187..9c464ff 100755 --- a/examples/play_long_file.py +++ b/examples/play_long_file.py @@ -85,7 +85,7 @@ try: event.wait() # Wait until playback is finished except KeyboardInterrupt: parser.exit('\nInterrupted by user') -except (queue.Full): +except queue.Full: # A timeout occured, i.e. there was an error in the callback parser.exit(1) except Exception as e: -- cgit v1.2.3