Skip to content

Commit

Permalink
Fixed bug which prevented Fits header from being transfered
Browse files Browse the repository at this point in the history
  • Loading branch information
Steffenhir committed Dec 29, 2022
1 parent edb3c72 commit bea53a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/astroimage.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def crop(self, startx, endx, starty, endy):
return

def update_fits_header(self, original_header, background_mean, app, app_state):
if(self.fits_header is None):
if(original_header is None):
self.fits_header = fits.Header()
else:
self.fits_header = original_header
Expand Down

0 comments on commit bea53a5

Please sign in to comment.