biome: don't use new Python syntax because Debian

lol
This commit is contained in:
Nicolas F 2021-06-11 20:04:39 +02:00
parent 9081f78ba6
commit 70e739916c
1 changed files with 1 additions and 1 deletions

View File

@ -34,4 +34,4 @@ def reshape_biome_data(biome_array):
elif biome_len == 1536:
return biome_array.reshape((4, 96, 4))
else:
raise BiomeException(f"Can't reshape a biome of length {biome_len}")
raise BiomeException("Can't reshape a biome of length {}".format(biome_len))