From 8e44c5126e52f617a6de7fdd694a9c71ffdd2086 Mon Sep 17 00:00:00 2001 From: Davis Goglin Date: Wed, 16 Mar 2016 14:28:53 -0700 Subject: [PATCH] Remove unsued variable --- escpos/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/escpos/config.py b/escpos/config.py index 54aa0ea..556887d 100644 --- a/escpos/config.py +++ b/escpos/config.py @@ -52,7 +52,7 @@ class Config(object): raise exceptions.ConfigNotFoundError('Couldn\'t read config at {config_path}'.format( config_path=str(config_path), )) - except yaml.YAMLError as e: + except yaml.YAMLError: raise exceptions.ConfigSyntaxError('Error parsing YAML') if 'printer' in config: