Skip to content

Commit 6555d67

Browse files
authored
Merge pull request #1614 from AllenNeuralDynamics/random-reward-save-check
returns empty dict instead of nonetype
2 parents 7fdefec + 1b694d3 commit 6555d67

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
@@ -4699,7 +4699,7 @@ def _Open(self, open_last=False, input_file=""):
46994699
elif widget.parent().objectName() == "MetaData":
47004700
CurrentObj = Obj["Metadata_dialog"]
47014701
elif widget.parent().objectName()=='RandomReward':
4702-
CurrentObj=Obj.get('RandomReward_dialog', None)
4702+
CurrentObj=Obj.get('RandomReward_dialog', {})
47034703
else:
47044704
CurrentObj = Obj.copy()
47054705
except Exception:

0 commit comments

Comments
 (0)