From e1eab37502c68a8d3ad56dc3cecd8616d249056c Mon Sep 17 00:00:00 2001 From: maxkoryukov Date: Sun, 20 Mar 2016 16:55:41 +0500 Subject: [PATCH] FIX: full name of headphones.exceptions for softchroot --- headphones/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headphones/__init__.py b/headphones/__init__.py index 4b36acf7..daf067a5 100644 --- a/headphones/__init__.py +++ b/headphones/__init__.py @@ -143,7 +143,7 @@ def initialize(config_file): SOFT_CHROOT = SoftChroot(str(CONFIG.SOFT_CHROOT)) if SOFT_CHROOT.isEnabled(): logger.info("Soft-chroot enabled for dir: %s", str(CONFIG.SOFT_CHROOT)) - except exceptions.SoftChrootError as e: + except headphones.exceptions.SoftChrootError as e: logger.error("SoftChroot error: %s", e) raise e