Mercurial > sypikslang
diff gamelib/missions.py @ 86:13550947a330
Serialize as list, since json complains
author | Neil Muller <drnlmuller@gmail.com> |
---|---|
date | Wed, 09 May 2012 20:05:53 +0200 |
parents | 182fce9f70b6 |
children | c57b5b46d3e0 |
line wrap: on
line diff
--- 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, (