X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=client.py;h=c32c62f2da9263a168d34442fc7150c0aafb9955;hb=5765f660c2da8b03b7a5d1eba42bd76cf0abf815;hp=c9958be1637a9fba9891666444995fbffbbd1589;hpb=0fc41c2a7adfcf282beeea4e7df0fb7bfd6dc5ab;p=plomrogue2-experiments diff --git a/client.py b/client.py index c9958be..c32c62f 100755 --- a/client.py +++ b/client.py @@ -57,7 +57,7 @@ class Game: """Reset self.terrain_map from terrain_map.""" lines = terrain_map.split('\n') if len(lines) != self.map_size[0]: - raise ArgError('wrong map height') + raise ArgError('wrong map height %s' % len(lines)) for line in lines: if len(line) != self.map_size[1]: raise ArgError('wrong map width')