From 1f87e08c731e5da975659e6aa17de042625404d2 Mon Sep 17 00:00:00 2001 From: Nadia Dencheva Date: Fri, 9 Dec 2016 14:35:25 -0500 Subject: save work --- stwcs/updatewcs/apply_corrections.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stwcs') diff --git a/stwcs/updatewcs/apply_corrections.py b/stwcs/updatewcs/apply_corrections.py index 4a8e5ac..f3da018 100644 --- a/stwcs/updatewcs/apply_corrections.py +++ b/stwcs/updatewcs/apply_corrections.py @@ -158,7 +158,7 @@ def applyNpolCorr(fname, unpolcorr): fnpol0 = fileutil.osfn(fnpol0) if not fileutil.findFile(fnpol0): msg = '"NPOLFILE" exists in primary header but file {0} not found.' - 'Non-polynomial distortion correction will not be applied.'.format(file) + 'Non-polynomial distortion correction will not be applied.'.format(fnpol0) logger.critical(msg) raise IOError("NPOLFILE {0} not found".format(fnpol0)) try: -- cgit