Remove debugging try-except

This commit is contained in:
Raffson 2023-05-18 22:36:17 +02:00
parent 386844378e
commit 5909ce372b
No known key found for this signature in database
GPG Key ID: B0402B2C9B764D99

View File

@ -45,11 +45,7 @@ class MigrationUnpickler(pickle.Unpickler):
if name == "Thunderstorm": if name == "Thunderstorm":
from game.weather.weather import Thunderstorm from game.weather.weather import Thunderstorm
return Thunderstorm return Thunderstorm
try: return super().find_class(module, name)
return super().find_class(module, name)
except AttributeError:
print(module, name)
return None
# fmt: on # fmt: on