Mercurial > mamba
changeset 124:d285cf18396e
Exception can not return string
author | Gideon Visser <gideon@gideonvisser.com> |
---|---|
date | Sun, 11 Sep 2011 21:34:07 -0700 |
parents | 915fd0ee28f5 |
children | 625b22f92efa |
files | mamba/level.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mamba/level.py Sun Sep 11 20:59:16 2011 -0700 +++ b/mamba/level.py Sun Sep 11 21:34:07 2011 -0700 @@ -116,11 +116,11 @@ try: temp_tile = self.tiles_ascii[y][x] except IndexError: - return 'The map went out of range' + return {}#'The map went out of range' try: return temp_tile == tile except KeyError: - return 'The map tile is not existing' + return {}#'The map tile is not existing' return self.get_bool(x, y, 'wall')