Skip to content

Commit 8a5e73d

Browse files
authored
Merge pull request #1615 from AllenNeuralDynamics/random-reward-save-check
returns empty dict instead of nonetype
2 parents 316e261 + 1b694d3 commit 8a5e73d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/foraging_gui/Foraging.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4713,7 +4713,7 @@ def _Open(self, open_last=False, input_file=""):
47134713
elif widget.parent().objectName() == "MetaData":
47144714
CurrentObj = Obj["Metadata_dialog"]
47154715
elif widget.parent().objectName()=='RandomReward':
4716-
CurrentObj=Obj.get('RandomReward_dialog', None)
4716+
CurrentObj=Obj.get('RandomReward_dialog', {})
47174717
else:
47184718
CurrentObj = Obj.copy()
47194719
except Exception:

0 commit comments

Comments
 (0)