summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordencheva <dencheva@stsci.edu>2011-08-05 15:36:50 -0400
committerdencheva <dencheva@stsci.edu>2011-08-05 15:36:50 -0400
commit1167965741f1a175de1af72710270d1441c7917c (patch)
treed5e60f3d95e5d08623d37739aa6d5681ebf38cc3
parent2cf8cec79a5ffce3b3ba5b83b77338d2762020a5 (diff)
downloadstwcs_hcf-1167965741f1a175de1af72710270d1441c7917c.tar.gz
correct type in previous commit
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13515 fe389314-cf27-0410-b35b-8c050e845b92
-rw-r--r--lib/stwcs/wcsutil/altwcs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stwcs/wcsutil/altwcs.py b/lib/stwcs/wcsutil/altwcs.py
index 063df18..282461a 100644
--- a/lib/stwcs/wcsutil/altwcs.py
+++ b/lib/stwcs/wcsutil/altwcs.py
@@ -411,7 +411,7 @@ def next_wcskey(fobj, ext=None):
header: pyfits.Header
"""
_check_headerpars(fobj, ext)
- hdr = _getheader(fobj, hdr)
+ hdr = _getheader(fobj, ext)
allkeys = available_wcskeys(hdr)
if allkeys != []:
return allkeys[0]