Skip to content

Commit

Permalink
Fixed bug when exporting uncorrected images
Browse files Browse the repository at this point in the history
  • Loading branch information
adamchlus committed Mar 5, 2021
1 parent 319e673 commit 00c0551
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/image_correct.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def apply_corrections(hy_obj,config_dict):
writer.close()

#Export masks
if config_dict['export']['masks']:
if (config_dict['export']['masks']) and (len(config_dict["corrections"]) > 0):
masks = []
mask_names = []

Expand Down

0 comments on commit 00c0551

Please sign in to comment.