diff options
Diffstat (limited to 'lib/utils.py')
-rw-r--r-- | lib/utils.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/utils.py b/lib/utils.py index bec12f7..87ff6d9 100644 --- a/lib/utils.py +++ b/lib/utils.py @@ -57,13 +57,14 @@ def write_archive(header): """ backup_kw = get_archive(header) if backup_kw != {}: - print "Archive already exists\n." + #print "Archive already exists\n" return else: cmt = 'archived value' for kw in basic_wcs: nkw = 'O'+kw - header.update(nkw[:7], header[kw], comment=cmt) + header.update(nkw[:8], header[kw], comment=cmt) + header.update('WCSCDATE', fileutil.getLTime(), comment='Local time the WCS kw were archived') def diff_angles(a,b): |