Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 7, 2025
1 parent 3fe7e9f commit 55a9556
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyFAI/gui/tasks/IntegrationTask.py
Original file line number Diff line number Diff line change
Expand Up @@ -1189,7 +1189,7 @@ def __saveJsonFile(self):
workerConfig.flat_field = model.experimentSettingsModel().flat().filename()
workerConfig.dark_current = model.experimentSettingsModel().dark().filename()
image = model.experimentSettingsModel().image().value()
if image is not None:
if image is not None:
workerConfig.shape = numpy.array(image).shape
try:
workerConfig.save(filename)
Expand Down

0 comments on commit 55a9556

Please sign in to comment.