Fix utf-8 error

This commit is contained in:
linarphy 2023-06-29 11:28:11 +02:00
parent 37ec1b6b2f
commit b3edfb3aee
No known key found for this signature in database
GPG key ID: 3D4AAAC3AD16E79C

View file

@ -711,7 +711,10 @@ else:
main_hdu.header[ 'RADECSYS' ] = 'FKS'
main_hdu.header[ 'OBS-ID' ] = head[ 'OBS_ID' ]
main_hdu.header[ 'DATE-NUM' ] = head[ 'DATE' ]
main_hdu.header[ 'COMMENT' ] = head[ 'COMMENT' ]
main_hdu.header[ 'COMMENT' ] = str(head[ 'COMMENT' ]).replace(
'\n' ,
'<CR>',
)
main_hdu.header[ 'POLICY' ] = head[ 'POLICY' ]
# BSS keywords