diff options
author | dencheva <dencheva@stsci.edu> | 2010-09-24 09:58:13 -0400 |
---|---|---|
committer | dencheva <dencheva@stsci.edu> | 2010-09-24 09:58:13 -0400 |
commit | 548060bb1b33b1c58344e7f83bb81c906841d860 (patch) | |
tree | ec971fe814b968dc28833a5eab13a3b20693bea0 | |
parent | 98c196132b6103b6faeecb0288e2afd154eca4fc (diff) | |
download | stwcs_hcf-548060bb1b33b1c58344e7f83bb81c906841d860.tar.gz |
Fixed a typo
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@10417 fe389314-cf27-0410-b35b-8c050e845b92
-rw-r--r-- | updatewcs/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/updatewcs/__init__.py b/updatewcs/__init__.py index 0dd21d4..52769ef 100644 --- a/updatewcs/__init__.py +++ b/updatewcs/__init__.py @@ -181,7 +181,7 @@ def getKeyName(hdr, wkey, wname, idcname): # if not - get the next availabble key name = wname key = wcsutil.getKeyFromName(hdr, wname) - if not wkey: + if not key: key = wcsutil.next_wcskey(hdr) else: key = wkey |