diff --git a/pdf417gen/console.py b/pdf417gen/console.py index a377f76..dc66a39 100644 --- a/pdf417gen/console.py +++ b/pdf417gen/console.py @@ -91,7 +91,7 @@ def do_encode(args): bg_color=args.bg_color, ) except Exception as e: - print_err(e.message) + print_err(str(e)) return if args.output: