# HG changeset patch # User Neil Muller # Date 1336586753 -7200 # Node ID 13550947a330e4d1e3bf9ce26c4336590bbe9af5 # Parent 182fce9f70b6eefccd51f9485c49372e795372b9 Serialize as list, since json complains diff -r 182fce9f70b6 -r 13550947a330 gamelib/missions.py --- a/gamelib/missions.py Wed May 09 20:02:28 2012 +0200 +++ b/gamelib/missions.py Wed May 09 20:05:53 2012 +0200 @@ -126,7 +126,7 @@ self._prior_attempts = set(init_data) def save_data(self): - return self._prior_attempts + return list(self._prior_attempts) def attempt_no_equipment(self, state): return Result(FAILURE, 0, -10, (