From 37d0636e2e7f13bf46c054e7b6218f1730c348e2 Mon Sep 17 00:00:00 2001 From: edoapra Date: Fri, 29 Oct 2021 14:21:05 -0700 Subject: [PATCH] flake8 fixes --- contrib/parsers/nw_rtparse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/parsers/nw_rtparse.py b/contrib/parsers/nw_rtparse.py index cca13ea2bc..d0b22e0080 100644 --- a/contrib/parsers/nw_rtparse.py +++ b/contrib/parsers/nw_rtparse.py @@ -149,7 +149,7 @@ def check_args_determine_labels (opts): elif opts.polarization == "z": dataindex = 4 else: - raise Exception ("Invalid polarization: {0}".format(polarization)) + raise Exception ("Invalid polarization: {0}".format(opts.polarization)) else: dataindex = 2