We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 974a1da commit 19b92a0Copy full SHA for 19b92a0
TigGUI/Images/Manager.py
@@ -624,7 +624,8 @@ def trimarray(array):
624
# restore card comments
625
for card in template.fits_header.keys():
626
if card in _header:
627
- if com := template.fits_header.comments[card]:
+ com = template.fits_header.comments[card]
628
+ if com:
629
_header.set(keyword=card, comment=com)
630
631
# set new header
0 commit comments