summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNadia Dencheva <nadia.dencheva@gmail.com>2016-12-09 14:35:25 -0500
committerNadia Dencheva <nadia.dencheva@gmail.com>2016-12-13 15:15:07 -0500
commit1f87e08c731e5da975659e6aa17de042625404d2 (patch)
tree7bace1189f78d4a82c9462828eaaa882f4f66030
parentdc6eaa10f996af4173cebdd85f7a53d113272529 (diff)
downloadstwcs_hcf-1f87e08c731e5da975659e6aa17de042625404d2.tar.gz
save work
-rw-r--r--stwcs/updatewcs/apply_corrections.py2
1 files changed, 1 insertions, 1 deletions
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: