diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/stwcs/wcsutil/altwcs.py | 2 |
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] |