summaryrefslogtreecommitdiff
path: root/lib/stwcs/updatewcs/npol.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/stwcs/updatewcs/npol.py')
-rw-r--r--lib/stwcs/updatewcs/npol.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stwcs/updatewcs/npol.py b/lib/stwcs/updatewcs/npol.py
index 2f8d836..33579f0 100644
--- a/lib/stwcs/updatewcs/npol.py
+++ b/lib/stwcs/updatewcs/npol.py
@@ -82,7 +82,7 @@ class NPOLCorr(object):
dx,dy = cls.getData(nplfile, ccdchip)
idccoeffs = cls.getIDCCoeffs(header)
- if idccoeffs != None:
+ if idccoeffs is not None:
dx, dy = cls.transformData(dx,dy, idccoeffs)
# Determine EXTVER for the WCSDVARR extension from the